[][src]Module nannou::geom::rect

Structs

Corners

An iterator yielding the four corners of a Rect.

Padding

The distance between the inner edge of a border and the outer edge of the inner content.

Rect

Defines a Rectangle's bounds across the x and y axes.

SubdivisionRanges

The ranges that describe the subdivisions of a Rect.

Subdivisions

Yields even subdivisions of a Rect.

Enums

Corner

Either of the four corners of a Rect.

Constants

NUM_CORNERS

The number of subdivisions when dividing a Rect in half along the x and y axes.

NUM_SUBDIVISIONS

The number of subdivisions when dividing a Rect in half along the x and y axes.

NUM_TRIANGLES

The number of triangles used to represent a Rect.

Type Definitions

Triangles

The triangles iterator yielded by the Rect.