Skip to main content

rounded_rect

Function rounded_rect 

Source
fn rounded_rect(rect: Rect, radius: f32) -> Option<Path>
Expand description

A rounded rectangle, cornered with cubics — krilla’s path builder speaks segments, not primitives with radii.