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

◆ width() [2/2]

void xtd::drawing::rectangle::width ( int32  value)
noexcept

Sets the width of this xtd::drawing::rectangle structure.

Parameters
valueThe width of this xtd::drawing::rectangle structure. The default is 0.
Remarks
Changing the xtd::drawing::rectangle::width property will also cause a change in the xtd::drawing::rectangle::bottom property of the xtd::drawing::rectangle. 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.