Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

markerUnits

« SVG Attribute reference home

The markerUnits attribute defines the coordinate system for the attributes markerWidth, markerHeight and the contents of the <marker>.

If the markerUnits attribute is not specified, then the effect is as if a value of strokeWidth were specified.

Usage context

Categories None
Value userSpaceOnUse | strokeWidth
Animatable Yes
Normative document SVG 1.1 (2nd Edition)
userSpaceOnUse
markerWidth, markerHeight and the contents of the <marker> represent values in the current user coordinate system in place for the graphic object referencing the marker (i.e., the user coordinate system for the element referencing the <marker> element via a marker, marker-start, marker-mid or marker-end property).
strokeWidth
markerWidth, markerHeight and the contents of the <marker> represent values in a coordinate system which has a single unit equal the size in user units of the current stroke width (see the stroke-width attribute) in place for the graphic object referencing the marker.

Examples

Elements

The following elements can use the markerUnits attribute:

Document Tags and Contributors

 Contributors to this page: Jeremie, Sheppy
 Last updated by: Jeremie,