Struct lyon_core::path::Path
[−]
[src]
pub struct Path {
// some fields omitted
}The data structure that represent a complex path.
This API is not stable yet. Both the data structure and the methods it exposes will change, hopefully soon.
Methods
impl Path[src]
fn new() -> Path
fn from_vec(vertices: Vec<PointData>, sub_paths: Vec<PathInfo>) -> Path
fn vertices(&self) -> VertexSlice<PointData>
fn mut_vertices(&mut self) -> MutVertexSlice<PointData>
fn num_vertices(&self) -> usize
fn sub_path(&self, id: PathId) -> SubPathSlice
fn path_ids(&self) -> PathIdRange
fn as_slice(&self) -> PathSlice
Trait Implementations
impl Debug for Path[src]
impl Clone for Path[src]
fn clone(&self) -> Path
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