Skip to content

Oval

Examples#

See these.

Oval #

Bases: Shape

Draws an axis-aligned oval that fills the given axis-aligned rectangle with the given paint.

The style property of paint indicates whether this oval is filled, stroked, or both.

height #

height: Number = 0

The height of the rectangle containing the oval.

paint #

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

A style to draw an oval with.

width #

width: Number = 0

The width of the rectangle containing the oval.

x #

x: Number

The x-axis coordinate of the oval's top left point.

y #

y: Number

The y-axis coordinate of the oval's top left point.