Skip to content
PHP Ecosystem
Explore

CoordinateUnits

API reference › HTML SVG › Values › CoordinateUnits

enumUIAwesome\Html\Svg\Values\CoordinateUnits
Backed bystring
Sourcesrc/Values/CoordinateUnits.php

Represents literal string values for SVG coordinate system units.

Provides the keyword values used by attributes that define coordinate systems.

See also: ClipPath::clipPathUnits(), Filter::filterUnits(), Filter::primitiveUnits(), LinearGradient::gradientUnits(), Mask::maskContentUnits(), Mask::maskUnits(), Pattern::patternContentUnits(), Pattern::patternUnits().

CaseValueDescription
OBJECT_BOUNDING_BOX'objectBoundingBox'objectBoundingBox - Coordinate system is established by the bounding box of the element to which the attribute is applied.
USER_SPACE_ON_USE'userSpaceOnUse'userSpaceOnUse - Coordinate system is established by the current user coordinate system in place at the time of reference.