Type Alias IdEvent
pub type IdEvent = Event<EndpointId, ControlPointId>;
Available on crate feature
geometry
only.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,
},
}