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

◆ width() [1/2]

float xtd::drawing::rectangle_f::width ( ) const
noexcept

Gets the width of this xtd::drawing::rectangle_f structure.

Returns
The width of this xtd::drawing::rectangle_f structure. The default is 0.
Remarks
Changing the xtd::drawing::rectangle_f::width property will also cause a change in the xtd::drawing::rectangle_f::bottom property of the xtd::drawing::rectangle_f. The units the rectangle is drawn in is determined by the xtd::drawing::graphics::page_unit and xtd::drawing::graphics::page_scale properties of the graphics object used for drawing. The default unit is pixels.