Table of Contents

Property PrimitiveUnits

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

PrimitiveUnits

Gets a value specifying the coordinate system for the various length values within the filter primitives and for the attributes that define the filter primitive subregion.

public ISvgAnimatedEnumeration PrimitiveUnits { get; }

Property Value

ISvgAnimatedEnumeration

primitiveUnits = "userSpaceOnUse | objectBoundingBox"

If the value is equal to UserSpaceOnUse, any length values within the filter definitions represent values in the current local 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 any length values within the filter definitions represent fractions or percentages of the bounding box on the referencing element (see object bounding box units). Note that if only one number was specified in a number-optional-number value this number is expanded out before the primitive-units computation takes place.

The initial value for primitive-units is UserSpaceOnUse.