Struct nannou::geom::path::Path [−][src]
pub struct Path { /* fields omitted */ }
Expand description
A wrapper around a 2D lyon path exposing a nannou-friendly API.
Implementations
Returns a slice over an endpoint’s custom attributes.
Iterates over the endpoint and control point ids of the Path.
Iterate over points alongside their attributes.
Applies a transform to all endpoints and control points of this path and returns the result.
Reversed version of this path with edge loops specified in the opposite order.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Path
impl UnwindSafe for Path
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more