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 class-attribute instance-attribute #

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

A style to draw a circle with.

radius class-attribute instance-attribute #

radius: Number = 0

Circle's radius.

x instance-attribute #

x: Number

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

y instance-attribute #

y: Number

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