Enum lyon_core::events::SvgEvent
[−]
[src]
pub enum SvgEvent { MoveTo(Point), RelativeMoveTo(Vec2), LineTo(Point), RelativeLineTo(Vec2), QuadraticTo(Point, Point), RelativeQuadraticTo(Vec2, Vec2), CubicTo(Point, Point, Point), RelativeCubicTo(Vec2, Vec2, Vec2), ArcTo(Point, Vec2, Radians<f32>, ArcFlags), RelativeArcTo(Vec2, Vec2, Radians<f32>, ArcFlags), HorizontalLineTo(f32), VerticalLineTo(f32), RelativeHorizontalLineTo(f32), RelativeVerticalLineTo(f32), SmoothQuadraticTo(Point), SmoothRelativeQuadraticTo(Vec2), SmoothCubicTo(Point, Point), SmoothRelativeCubicTo(Vec2, Vec2), Close, }
Variants
MoveTo(Point)
RelativeMoveTo(Vec2)
LineTo(Point)
RelativeLineTo(Vec2)
QuadraticTo(Point, Point)
RelativeQuadraticTo(Vec2, Vec2)
CubicTo(Point, Point, Point)
RelativeCubicTo(Vec2, Vec2, Vec2)
ArcTo(Point, Vec2, Radians<f32>, ArcFlags)
RelativeArcTo(Vec2, Vec2, Radians<f32>, ArcFlags)
HorizontalLineTo(f32)
VerticalLineTo(f32)
RelativeHorizontalLineTo(f32)
RelativeVerticalLineTo(f32)
SmoothQuadraticTo(Point)
SmoothRelativeQuadraticTo(Vec2)
SmoothCubicTo(Point, Point)
SmoothRelativeCubicTo(Vec2, Vec2)
Close
Trait Implementations
impl Copy for SvgEvent
[src]
impl Clone for SvgEvent
[src]
fn clone(&self) -> SvgEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more