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.

public enum SVGUnitTypes


Name Value Description
SVG_UNIT_TYPE_UNKNOWN 0 The 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_USERSPACEONUSE 1 Corresponds to value ‘userSpaceOnUse’.
SVG_UNIT_TYPE_OBJECTBOUNDINGBOX 2 Corresponds to value ‘objectBoundingBox’.

See Also