RectCompOpt:

Options for the rect component.

groupComponent 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

Misc

Layer