Skip to main content

rounded_rectangle_polygon

Function rounded_rectangle_polygon 

Source
pub fn rounded_rectangle_polygon(
    width: f64,
    height: f64,
    radius: f64,
    n_per_corner: usize,
) -> Polygon
Expand description

Helper: round rectangle corners with fillet radius.