Struct svg::path::Data [] [src]

pub struct Data {
    // some fields omitted
}

The data attribute of a path.

http://www.w3.org/TR/SVG/paths.html#PathData

Methods

impl Data
[src]

fn parse(text: &str) -> Result<Data>

Parse the data attribute of a path.

fn iter(&self) -> Iter<Command>

Return an iterator over the commands of the path.