Struct lyon_tessellation::StrokeVertex[][src]

pub struct StrokeVertex<'a, 'b>(_);
Expand description

Extra vertex information from the StrokeTessellator accessible when building vertices.

Implementations

The vertex position.

Normal at this vertex.

The length of the provided normal is such that displacing the vertex along it inflates the stroke by 2.0 (1.0 on each side).

Position of this vertex on the path, unaffected by the line width.

How far along the path this vertex is.

Whether the vertex is on the left or right side of the path.

Returns the source of this vertex.

Returns the source of this vertex.

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.