Skip to main content

rounded_rect_segs

Function rounded_rect_segs 

Source
pub fn rounded_rect_segs(rect: Rect, radii: CornerRadii) -> Vec<PathSeg>
Expand description

The closed contour of a rectangle rounded corner by corner, clockwise from the top left, with the radii fitted first. A square corner is a sharp point, not a zero-length curve.

Day API ↩ Guides· daybrite.dev