Table of Contents

Property FilterUnits

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

FilterUnits

Gets a value definining the coordinate system for attributes X, Y, Width, Height.

public ISvgAnimatedEnumeration FilterUnits { get; }

Property Value

ISvgAnimatedEnumeration

filterUnits = "userSpaceOnUse | objectBoundingBox"

If the value is equal to UserSpaceOnUse, x, y, width, height represent values in the current user coordinate system in place at the time when the filter element is referenced (i.e., the user coordinate system for the element referencing the filter element via a filter property).

If the value is equal to ObjectBoundingBox, then x, y, width, height represent fractions or percentages of the bounding box on the referencing element (see object bounding box units).

The initial value for filter-units is ObjectBoundingBox.