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
id: String
Element's ID.
Taken from the SVG itself. Isn't automatically generated. Can be empty.
transform: Transform
Element transform.
fill: Option<Fill>
Fill style.
stroke: Option<Stroke>
Stroke style.
segments: Vec<PathSegment>
Segments list.
All segments are in absolute coordinates.