Enum svg::node::element::path::Command [] [src]

pub enum Command {
    Move(PositionParameters),
    Line(PositionParameters),
    HorizontalLine(PositionParameters),
    VerticalLine(PositionParameters),
    QuadraticCurve(PositionParameters),
    SmoothQuadraticCurve(PositionParameters),
    CubicCurve(PositionParameters),
    SmoothCubicCurve(PositionParameters),
    EllipticalArc(PositionParameters),
    Close,
}

A command of a data attribute.

Variants

Establish a new current point.

Draw straight lines.

Draw horizontal lines.

Draw vertical lines.

Draw a quadratic Bézier curve.

Draw a quadratic Bézier curve assuming the control point to be the reflection of the control point on the previous command relative to the current point.

Draw a cubic Bézier curve.

Draw a cubic Bézier curve assuming the first control point to be the reflection of the second control point on the previous command relative to the current point.

Draw an elliptical arc.

End the current subpath.

Trait Implementations

impl Clone for Command
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more