Module conrod::widget::primitive::shape::polygon [] [src]

A simple, non-interactive Polygon widget for drawing arbitrary convex shapes.

Structs

Polygon

A basic, non-interactive, arbitrary Polygon widget.

State

Unique state for the Polygon.

Triangles

An iterator that triangulates a polygon represented by a sequence of points describing its edges.

Enums

Kind

Whether the rectangle is drawn as an outline or a filled color.

Functions

triangles

Triangulate the polygon given as a list of Points describing its sides.