Skip to main content

rectangle

Function rectangle 

Source
pub fn rectangle(rect: Rect, radius: f32) -> Vec<PathSegment>
Expand description

The outline of a rectangle, with rounded corners when radius is above zero.