Skip to content
PHP Ecosystem
Explore

MarkerUnits

API reference › HTML SVG › Values › MarkerUnits

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

Represents literal string values for the SVG markerUnits attribute.

Provides the keyword values used by the markerUnits attribute.

See also: Marker::markerUnits().

CaseValueDescription
STROKE_WIDTH'strokeWidth'strokeWidth - The marker coordinate system has its origin at the marker position on the shape, with units scaled by the stroke width of the shape.
USER_SPACE_ON_USE'userSpaceOnUse'userSpaceOnUse - The marker coordinate system has its origin at the marker position on the shape, but uses the user coordinate system at the time of reference.