[][src]Struct lyon_tessellation::StrokeBuilder

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

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

Methods

impl<'l> StrokeBuilder<'l>[src]

pub fn new(
    options: &StrokeOptions,
    builder: &'l mut dyn GeometryBuilder<Vertex>
) -> Self
[src]

pub fn set_options(&mut self, options: &StrokeOptions)[src]

Trait Implementations

impl<'l> PathBuilder for StrokeBuilder<'l>[src]

fn path_event(&mut self, event: PathEvent)[src]

fn with_svg(self) -> SvgPathBuilder<Self>[src]

Returns a builder that support svg commands.

impl<'l> FlatPathBuilder for StrokeBuilder<'l>[src]

fn flat_event(&mut self, event: FlattenedEvent)[src]

fn flattened(self, tolerance: f32) -> FlatteningBuilder<Self>[src]

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

impl<'l> Build for StrokeBuilder<'l>[src]

type PathType = Result<(), GeometryBuilderError>

The type of object that is created by this builder.

Auto Trait Implementations

impl<'l> !Sync for StrokeBuilder<'l>

impl<'l> Unpin for StrokeBuilder<'l>

impl<'l> !Send for StrokeBuilder<'l>

impl<'l> !UnwindSafe for StrokeBuilder<'l>

impl<'l> !RefUnwindSafe for StrokeBuilder<'l>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]