pub enum PathEl {
Moveto(Vec2),
Lineto(Vec2),
Quadto(Vec2, Vec2),
Curveto(Vec2, Vec2, Vec2),
Closepath,
}
Expand description
The element of a Bézier path.
A valid path has Moveto
at the beginning of each subpath.
pub enum PathEl {
Moveto(Vec2),
Lineto(Vec2),
Quadto(Vec2, Vec2),
Curveto(Vec2, Vec2, Vec2),
Closepath,
}
The element of a Bézier path.
A valid path has Moveto
at the beginning of each subpath.