Polygon

Regular polygon shape specification

Constructor

Polygon(
    pos: Point2D = None,
    rotation: float = 0,
    num_sides: int = 5,
    radius: float = 10
) -> None