pts: Vec2[]
The points that make up the polygon
fill?: boolean
If fill the shape with color (set this to false if you only want an outline).
The center point of transformation in relation to the position.
radius?: number | number[]
The radius of each corner.
The color of each vertex.
since
v3000.0
tex?: Texture
The texture if uv are supplied.
since
v3001.0
Triangulate concave polygons.
since
v3001.0