:mod:`vectorio` =============== .. py:module:: vectorio .. autoapi-nested-parse:: Lightweight 2d shapes for displays .. py:class:: Circle(radius: int) .. attribute:: radius :annotation: :int The radius of the circle in pixels. .. py:class:: Polygon(points: List[Tuple[x, y], ...]) .. attribute:: points :annotation: :List[Tuple[x, y], ...] Set a new look and shape for this polygon .. py:class:: Rectangle(width: int, height: int) .. py:class:: VectorShape(shape: vectorio.Polygon, pixel_shader: displayio.Palette, x: int = 0, y: int = 0) .. attribute:: x :annotation: :int X position of the center point of the shape in the parent. .. attribute:: y :annotation: :int Y position of the center point of the shape in the parent. .. attribute:: pixel_shader :annotation: :displayio.Palette The pixel shader of the shape.