CanvasItem.drawPolygon

Draws a polygon of any amount of points, convex or concave.

struct CanvasItem
@nogc nothrow
void
drawPolygon
(
in PoolVector2Array points
,
in PoolColorArray colors
,
in PoolVector2Array uvs = PoolVector2Array.init
,,,
in bool antialiased = false
)

Meta