Rectangle
Rectangular shape specification
Constructor
Rectangle(
pos: Point2D | None = None,
rotation: float = 0,
stroke_opacity: float = 0.5,
width: float = 20,
height: float = 20
) -> None
Properties
x- X position (from pos.x)
y- Y position (from pos.y)