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

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::IntoRgba;
pub use self::color::SetColor;
pub use self::primitive::Ellipse;
pub use self::primitive::Line;
pub use self::primitive::Quad;
pub use self::primitive::Primitive;
pub use self::primitive::Rect;
pub use self::primitive::Tri;
pub use self::spatial::dimension::SetDimensions;
pub use self::spatial::position::SetPosition;

Modules

color
primitive
spatial

Structs

Draw

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

Traits

IntoDrawn

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

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.

Rgba

The RGBA type used by the Common params.