Skip to content

Points

Inherits: Shape

Draws a sequence of points according to the given point_mode.

Properties

Properties#

paint #

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

A style to draw points with.

point_mode #

point_mode: PointMode = POINTS

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

points #

points: list[OffsetValue] | None = None

The list of offsets describing points.