SVGUnitTypes enumeration

SVGUnitTypes enumeration

The SVGUnitTypes enumeration defines a commonly used set of constants and is a base interface used by SVGGradientElement, SVGPatternElement, SVGClipPathElement, SVGMaskElement and SVGFilterElement.

The SVGUnitTypes type exposes the following members:

Fields

FieldDescription
SVG_UNIT_TYPE_UNKNOWNThe type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
SVG_UNIT_TYPE_USERSPACEONUSECorresponds to value ‘userSpaceOnUse’.
SVG_UNIT_TYPE_OBJECTBOUNDINGBOXCorresponds to value ‘objectBoundingBox’.

See Also