Struct lyon_path_builder::SvgPathBuilder [] [src]

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

Implements the Svg building interface on top of a PathBuilder.

Methods

impl<Builder: PathBuilder> SvgPathBuilder<Builder>
[src]

[src]

Trait Implementations

impl<Builder: PathBuilder> FlatPathBuilder for SvgPathBuilder<Builder>
[src]

The type of object that is created by this builder.

[src]

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

[src]

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

[src]

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

[src]

[src]

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

[src]

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

[src]

[src]

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

impl<Builder: PathBuilder> PathBuilder for SvgPathBuilder<Builder>
[src]

[src]

[src]

[src]

[src]

Returns a builder that support svg commands.

impl<Builder: PathBuilder> SvgBuilder for SvgPathBuilder<Builder>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]