gradient?:
[
Color, Color
]
Use gradient instead of solid color.
sincev3000.0
If the gradient should be horizontal.
sincev3000.0
fill?: boolean
If fill the shape with color (set this to false if you only want an outline).
radius?: number | number[]
The radius of each corner.
anchor?: Anchor | Vec2
The anchor point, or the pivot point. Default to "topleft".