Interface

RectCompOpt

:

Options for the rect component.

group Component Types

radius

?: number | [number, number, number, number]

Radius of the rectangle corners.

fill

?: boolean

If fill the rectangle (useful if you only want to render outline with outline() component).

kaplay logo

Layer

Miscalenous