vectorio¶
Lightweight 2d shapes for displays
-
class
vectorio.Polygon(points: List[Tuple[x, y], …])¶ -
points:List[Tuple[x, y], ...]¶ Set a new look and shape for this polygon
-
-
class
vectorio.VectorShape(shape: vectorio.Polygon, pixel_shader: displayio.Palette, x: int = 0, y: int = 0)¶ -
x:int¶ X position of the center point of the shape in the parent.
-
y:int¶ Y position of the center point of the shape in the parent.
-
pixel_shader:displayio.Palette¶ The pixel shader of the shape.
-