Struct lyon::path_builder::SvgPathBuilder []

pub struct SvgPathBuilder<Builder> where
    Builder: PathBuilder
{ /* fields omitted */ }

Implements the Svg building interface on top of a PathBuilder.

Methods

impl<Builder> SvgPathBuilder<Builder> where
    Builder: PathBuilder

Trait Implementations

impl<Builder> PathBuilder for SvgPathBuilder<Builder> where
    Builder: PathBuilder

Returns a builder that support svg commands.

impl<Builder> SvgBuilder for SvgPathBuilder<Builder> where
    Builder: PathBuilder

impl<Builder> BaseBuilder for SvgPathBuilder<Builder> where
    Builder: PathBuilder

The type of object that is created by this builder.

Sets the current position in preparation for the next sub-path. If the current sub-path contains edges, this ends the sub-path without closing it. Read more

Adds a line segment to the current sub-path and set the current position.

Closes the current sub path and sets the current position to the first position of this the current sub-path. Read more

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

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

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