Struct lyon_tessellation::StrokeBuilder[][src]

pub struct StrokeBuilder<'l> { /* fields omitted */ }
Expand description

A builder that tessellates a stroke directly without allocating any intermediate data structure.

Implementations

Trait Implementations

The type of object that is created by this builder.

Builds a path object and resets the builder so that it can be used again.

Starts a new sub-path at a given position. Read more

Ends the current sub path. Read more

Adds a line segment to the current sub-path. Read more

Adds a quadratic bézier curve to the current sub-path. Read more

Adds a cubic bézier curve to the current sub-path. Read more

Adds a sub-path containing a rectangle. Read more

Closes the current sub path. Read more

Hints at the builder that a certain number of endpoints and control points will be added. Read more

Applies the provided path event. Read more

Adds events from an iterator.

Adds a sub-path from a polygon. Read more

Adds a sub-path containing a single point. Read more

Adds a sub-path containing a single line segment. Read more

Adds a sub-path containing an ellipse. Read more

Adds a sub-path containing a circle. Read more

Adds a sub-path containing a rectangle. Read more

Returns a builder that approximates all curves with sequences of line segments.

Returns a builder that applies the given transformation to all positions.

Returns a builder that support SVG commands. Read more

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

Performs the conversion.

Performs the conversion.

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.