Function

drawEllipse

(opt: DrawEllipseOpt): void

Draw an ellipse.

param opt- The draw ellipse options.

drawEllipse({
    pos: vec2(100, 200),
    radiusX: 120,
    radiusY: 120,
    color: rgb(255, 255, 0),
});

since v3000.0

group Draw

kaplay logo

Layer

Miscalenous