1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use super::point::*;

///
/// Represents an element of a bezier path
/// 
#[derive(Clone, Copy, PartialEq, Debug)]
pub enum PathElement {
    Move(PathPoint),
    Line(PathPoint),
    Bezier(PathPoint, PathPoint, PathPoint),
    Close
}