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::Primitive; |
pub use self::primitive::Quad; |
pub use self::primitive::Rect; |
pub use self::primitive::Tri; |
pub use self::spatial::dimension::SetDimensions; |
pub use self::spatial::orientation::SetOrientation; |
pub use self::spatial::position::SetPosition; |
Modules
color | |
primitive | |
spatial |
Structs
Draw |
A wrapper around the |
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. |
VerticesFromRanges |
Uses a set of ranges to index into the intermediary mesh and produce vertices. |
Traits
Indices |
Similar to the |
IntoDrawn |
Types that can be Drawn into a parent Draw geometry graph and mesh. |
Vertices |
Similar to the |
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 |