Skip to main content

create_regular_polygon

Function create_regular_polygon 

Source
pub fn create_regular_polygon(
    center: Point,
    radius: f64,
    sides: usize,
) -> PolygonAnnotation
Expand description

Helper function to create a regular polygon