pub struct Filter {
pub id: String,
pub units: Units,
pub primitive_units: Units,
pub rect: Rect,
pub primitives: Vec<Primitive>,
}Expand description
A filter element.
filter element in the 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: UnitsRegion coordinate system units.
filterUnits in the SVG.
primitive_units: UnitsContent coordinate system units.
primitiveUnits in the SVG.
rect: RectFilter region.
x, y, width and height in the SVG.
primitives: Vec<Primitive>A list of filter primitives.