Skip to main content

create_rectangle_polygon

Function create_rectangle_polygon 

Source
pub fn create_rectangle_polygon(
    top_left: Point,
    top_right: Point,
    bottom_right: Point,
    bottom_left: Point,
) -> PolygonAnnotation
Expand description

Helper function to create a rectangle annotation from four points