Trait PositionStore
pub trait PositionStore {
// Required methods
fn get_endpoint(&self, id: EndpointId) -> Point2D<f32, UnknownUnit>;
fn get_control_point(&self, id: ControlPointId) -> Point2D<f32, UnknownUnit>;
}
Available on crate feature
canvas
only.Expand description
Interface for objects storing endpoints and control points positions.
This interface can be implemented by path objects themselves or via external data structures.