Type Definition nannou::draw::primitive::polygon::DrawingPolygonInit[][src]

pub type DrawingPolygonInit<'a> = Drawing<'a, PolygonInit>;
Expand description

Initialised drawing state for a polygon.

Implementations

Stroke the outline with the given color.

Describe the polygon with a sequence of path events.

Describe the polygon with a sequence of points.

Consumes an iterator of points and converts them to an iterator yielding path events.

Describe the polygon with an iterator yielding textured poings.