xtd 0.2.0
Loading...
Searching...
No Matches

◆ visible_clip_bounds()

xtd::drawing::rectangle_f xtd::drawing::graphics::visible_clip_bounds ( ) const
noexcept

Gets the bounding rectangle of the visible clipping region of this xtd::drawing::graphics.

Returns
A xtd::drawing::rectangle_f structure that represents a bounding rectangle for the visible clipping region of this xtd::drawing::graphics.
Remarks
The unit for resulting rectangle is designated by the xtd::drawing::graphics::page_unit property. The default unit is pixels. A xtd::drawing::graphics is typically associated with a control and the origin of the rectangle will be relative to the client area of that control.
The visible clipping region is the intersection of the clipping region of this xtd::drawing::graphics::graphics and the clipping region of the window.