Enum vectorphile::backend::Command
[−]
[src]
pub enum Command { StartShape(DrawOptions), MoveTo { x: f64, y: f64, }, LineTo { x: f64, y: f64, }, CubicCurveTo { cx1: f64, cy1: f64, cx2: f64, cy2: f64, x: f64, y: f64, }, QuadraticCurveTo { cx: f64, cy: f64, x: f64, y: f64, }, ArcTo { rx: f64, ry: f64, rotation: f64, large_arc: bool, sweep: bool, x: f64, y: f64, }, CloseShape, EndShape, }
Variants
StartShape(DrawOptions)
MoveTo
Fields of MoveTo
x: f64 | |
y: f64 |
LineTo
Fields of LineTo
x: f64 | |
y: f64 |
CubicCurveTo
Fields of CubicCurveTo
cx1: f64 | |
cy1: f64 | |
cx2: f64 | |
cy2: f64 | |
x: f64 | |
y: f64 |
QuadraticCurveTo
Fields of QuadraticCurveTo
cx: f64 | |
cy: f64 | |
x: f64 | |
y: f64 |
ArcTo
Fields of ArcTo
rx: f64 | |
ry: f64 | |
rotation: f64 | |
large_arc: bool | |
sweep: bool | |
x: f64 | |
y: f64 |
CloseShape
EndShape