Struct nannou::draw::properties::Draw [] [src]

pub struct Draw<'a, S = DefaultScalar> where
    S: 'a + BaseFloat
{ /* fields omitted */ }

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

Methods

impl<'a, S> Draw<'a, S> where
    S: BaseFloat
[src]

[src]

Create a new Draw.

[src]

The length of the untransformed node at the given index along the axis returned by the given point_axis function.

Note: If this node's Drawing is not yet complete, this method will cause it to finish and submit the Drawn state to the inner geometry graph and mesh.

[src]

The length of the untransformed node at the given index along the x axis.

[src]

The length of the untransformed node at the given index along the y axis.

[src]

The length of the untransformed node at the given index along the y axis.

[src]

The length of the transformed node at the given index along the axis returned by the given point_axis function.

Note: If this node's Drawing is not yet complete, this method will cause it to finish and submit the Drawn state to the inner geometry graph and mesh.

[src]

The length of the transformed node at the given index along the x axis.

[src]

The length of the transformed node at the given index along the y axis.

[src]

The length of the transformed node at the given index along the z axis.

[src]

Retrieve the given element from the inner Theme.

Trait Implementations

impl<'a, S: Debug> Debug for Draw<'a, S> where
    S: 'a + BaseFloat
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, S> Send for Draw<'a, S> where
    S: Send

impl<'a, S = f32> !Sync for Draw<'a, S>