IRenderer.polygon

Drawing a polygon from an array of vertices.

interface IRenderer
@safe @safe
void
polygon

Parameters

position Vecf

Polygon position.

points Vecf[]

Polygon vertices/

color Color!ubyte

Polygon color.

isFill bool

Whether it is necessary to fill the polygon with color.

Meta