Struct usvg::Path [] [src]

pub struct Path {
    pub id: String,
    pub transform: Transform,
    pub fill: Option<Fill>,
    pub stroke: Option<Stroke>,
    pub segments: Vec<PathSegment>,
}

A path element.

Fields

Element's ID.

Taken from the SVG itself. Isn't automatically generated. Can be empty.

Element transform.

Fill style.

Stroke style.

Segments list.

All segments are in absolute coordinates.

Trait Implementations

impl Clone for Path
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Path

impl Sync for Path