pub type IdEvent = Event<EndpointId, ControlPointId>;
Expand description
A path event representing endpoints and control points as IDs.
Aliased Type§
enum IdEvent {
Begin {
at: EndpointId,
},
Line {
from: EndpointId,
to: EndpointId,
},
Quadratic {
from: EndpointId,
ctrl: ControlPointId,
to: EndpointId,
},
Cubic {
from: EndpointId,
ctrl1: ControlPointId,
ctrl2: ControlPointId,
to: EndpointId,
},
End {
last: EndpointId,
first: EndpointId,
close: bool,
},
}