Skip to content

Circle

Inherits: Shape

Draws a circle.

Properties

  • paint(Paint) –

    A style to draw a circle with.

  • radius(Number) –

    Circle's radius.

  • x(Number) –

    The x-axis coordinate of the circle's center point.

  • y(Number) –

    The y-axis coordinate of the circle's center point.

Properties#

paint #

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

A style to draw a circle with.

radius #

radius: Number = 0

Circle's radius.

x #

x: Number

The x-axis coordinate of the circle's center point.

y #

y: Number

The y-axis coordinate of the circle's center point.