Struct lyon_svg::path_utils::PathSerializer [−][src]
pub struct PathSerializer { /* fields omitted */ }
Expand description
An SvgPathBuilder
that builds a String
representation of the path
using the SVG syntax.
No effort is put into making the serializer fast or make the output compact. Intended primarily for debugging purposes.
Implementations
Trait Implementations
Ends the current sub-path by connecting it back to its initial point. Read more
Adds a quadratic bézier segment to the current sub-path. Read more
Adds a cubic bézier segment to the current sub-path. Read more
Equivalent to move_to
in relative coordinates. Read more
Equivalent to line_to
in relative coordinates. Read more
Equivalent to quadratic_bezier_to
in relative coordinates. Read more
Equivalent to cubic_bezier_to
in relative coordinates. Read more
Equivalent to cubic_bezier_to
with implicit first control point. Read more
Equivalent to smooth_cubic_bezier_to
in relative coordinates. Read more
Equivalent to quadratic_bezier_to
with implicit control point. Read more
Equivalent to smooth_quadratic_bezier_to
in relative coordinates. Read more
Adds an horizontal line segment. Read more
Adds an horizontal line segment in relative coordinates. Read more
Adds a vertical line segment. Read more
Adds a vertical line segment in relative coordinates. Read more
Adds an elliptical arc. Read more
Equivalent to arc_to
in relative coordinates. Read more
Hints at the builder that a certain number of endpoints and control points will be added. Read more
Adds a sub-path from a polygon. Read more
Auto Trait Implementations
impl RefUnwindSafe for PathSerializer
impl Send for PathSerializer
impl Sync for PathSerializer
impl Unpin for PathSerializer
impl UnwindSafe for PathSerializer