[−][src]Trait nannou::draw::primitive::path::TessellationOptions
A set of path tessellation options (FillOptions or StrokeOptions).
Associated Types
type Tessellator
The tessellator for which the options are built.
type VertexInput
The input vertex type for the geometry builder.
Required methods
fn tessellator(tessellators: Tessellators) -> &mut Self::Tessellator
Initialise the tessellator.
fn tessellate<I>(
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,
Tessellate the given path events into the given output.
Implementations on Foreign Types
impl TessellationOptions for FillOptions
[src]
type Tessellator = FillTessellator
type VertexInput = FillVertex
fn tessellator(tessellators: Tessellators) -> &mut Self::Tessellator
[src]
fn tessellate<I>(
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,
[src]
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,
impl TessellationOptions for StrokeOptions
[src]
type Tessellator = StrokeTessellator
type VertexInput = StrokeVertex
fn tessellator(tessellators: Tessellators) -> &mut Self::Tessellator
[src]
fn tessellate<I>(
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,
[src]
&self,
tessellator: &mut Self::Tessellator,
events: I,
output: &mut dyn GeometryBuilder<Self::VertexInput>
) -> TessellationResult where
I: IntoIterator<Item = PathEvent>,