Type

DrawEllipseOpt

: RenderProps & {

radiusX

: number

The horizontal radius.

radiusY

: number

The vertical radius.

start

?: number

Starting angle.

fill

?: boolean

If fill the shape with color (set this to false if you only want an outline).

gradient

?: [Color, Color]

Use gradient instead of solid color.

since v3000.0

resolution

?: number

Multiplier for circle vertices resolution (default 1)

anchor

?: Anchor | Vec2

The anchor point, or the pivot point. Default to "topleft".

}

How the ellipse should look like.

kaplay logo

Layer

Miscalenous