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: StringElement’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: UnitsCoordinate system units.
clipPathUnits in SVG.
transform: TransformClip path transform.
transform in SVG.
clip_path: Option<Rc<Self>>Additional clip path.
clip-path in SVG.
root: NodeClip path children.
The root node is always Group.