pub struct ClipPath {
pub id: String,
pub units: Units,
pub transform: Transform,
pub clip_path: Option<Rc<Self>>,
pub root: Node,
}
Expand description
A clip-path element.
clipPath
element in SVG.
Fields§
§id: String
Element’s ID.
Taken from the SVG itself or generated by the parser.
Used only during SVG writing. resvg
doesn’t rely on this property.
units: Units
Coordinate system units.
clipPathUnits
in SVG.
transform: Transform
Clip path transform.
transform
in SVG.
clip_path: Option<Rc<Self>>
Additional clip path.
clip-path
in SVG.
root: Node
Clip path children.
The root node is always Group
.