Shape
Base class for shape specifications (used for holes)
Shapes specify geometry and position but not visual attributes. Visual attributes (fill, stroke, etc.) come from the parent PerforatedXState.
Constructor
Shape(
pos: Point2D | None = None,
rotation: float = 0,
stroke_opacity: float = 0.5
) -> None
Properties
x- X position (from pos.x)
y- Y position (from pos.y)