[][src]Module nannou::draw::properties

Parameters which a Drawing instance may use to describe certain properties of a drawing.

Each time a new method is chained onto a Drawing instance, it uses the given values to set one or more properties for the drawing.

Each Drawing instance is associated with a specific Node in the geometry graph and has a unique node::Index to simplify this.

Re-exports

pub use self::color::SetColor;
pub use self::fill::SetFill;
pub use self::spatial::dimension::SetDimensions;
pub use self::spatial::orientation::SetOrientation;
pub use self::spatial::position::SetPosition;
pub use self::stroke::SetStroke;

Modules

color
fill
spatial
stroke

Structs

Draw

A wrapper around the draw::State for the IntoDrawn trait implementations.

IndicesChain

A pair of Indices implementations chained together.

IndicesFromRange

Uses a range to index into the intermediary mesh indices.

IterIndices

An iterator adaptor around a type implementing the Vertices trait and the IntermediaryMesh necessary for producing vertices.

IterVertices

An iterator adaptor around a type implementing the Vertices trait and the IntermediaryMesh necessary for producing vertices.

VerticesChain

A pair of Vertices implementations chained together.

VerticesFromRanges

Uses a set of ranges to index into the intermediary mesh and produce vertices.

Traits

Indices

Similar to the Iterator trait, but provides access to the IntermediaryMesh on each call to the next method.

IntoDrawn

Types that can be Drawn into a parent Draw geometry graph and mesh.

Vertices

Similar to the Iterator trait, but provides access to the IntermediaryMesh on each call to the next method.

Type Definitions

ColorScalar

The scalar type used for the color channel values.

Drawn

When a Drawing type is ready to be built it returns a Drawn.

LinSrgba

The RGBA type used by the Common params.

Srgba

The RGBA type used by the Common params.