Struct svgdom::types::path::Path [] [src]

pub struct Path {
    pub d: Vec<Segment>,
}

Representation of the SVG path data.

Fields

Vector which contain all the segments.

Methods

impl Path
[src]

Constructs a new path.

Converts path's segments into absolute.

Original segments can be mixed (relative, absolute).

Converts path's segments into relative.

Original segments can be mixed (relative, absolute).

Trait Implementations

impl PartialEq for Path
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Path
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromStream for Path
[src]

Error type.

Parses data from Stream.

Parses data from &[u8].

impl WriteBuffer for Path
[src]

Writes data to Vec<u8> buffer using specified WriteOptions.

Writes data to Vec<u8> buffer using default WriteOptions.

impl Display for Path
[src]

Formats the value using the given formatter.

impl WriteToString for Path
[src]

Writes data to String using specified WriteOptions.

impl Debug for Path
[src]

Formats the value using the given formatter.