pub struct GraphicsPath {
    pub points: Vec<(i32, i32, PointType)>,
    /* private fields */
}
Expand description

graphic path with similar functions like html canvas

Fields

points: Vec<(i32, i32, PointType)>

Implementations

move to position

create a line between the last and new point

quadratic bezier curve

cubic bezier curve

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.