Skip to content

Points

Inherits: Shape

Draws a sequence of points according to the given point_mode.

Properties

Properties#

paint class-attribute instance-attribute #

paint: Paint = field(default_factory=lambda: Paint())

A style to draw points with.

point_mode class-attribute instance-attribute #

point_mode: PointMode = POINTS

Defines how a list of points is interpreted when drawing a set of points.

points class-attribute instance-attribute #

points: list[OffsetValue] | None = None

The list of offsets describing points.