Struct imgui::draw_list::Rect [−][src]
pub struct Rect<'ui> { /* fields omitted */ }
Expand description
Represents a rectangle about to be drawn
Implementations
Set rectangle’s corner rounding (default to 0.0: no rounding). By default all corners are rounded if this value is set.
Set flag to indicate if rectangle’s top-left corner will be rounded.
Set flag to indicate if rectangle’s top-right corner will be rounded.
Set flag to indicate if rectangle’s bottom-left corner will be rounded.
Set flag to indicate if rectangle’s bottom-right corner will be rounded.
Set rectangle’s thickness (default to 1.0 pixel).
Set to true
to make a filled rectangle (default to false
).