The marker-end
defines the arrowhead or polymarker that will be drawn at the final vertex of the given <path>
element or basic shape. Note that for a <path>
element which ends with a closed sub-path, the last vertex is the same as the initial vertex on the given sub-path. In this case, if marker-end
does not equal none, then it is possible that two markers will be rendered on the given vertex. One way to prevent this is to set marker-end
to none. (Note that the same comment applies to <polygon>
elements.)
Categories | Presentation attribute |
---|---|
Value | none | <funciri> | inherit |
Animatable | Yes |
Normative document | SVG 1.1 (2nd Edition) |
<marker>
element which shall be used as the arrowhead symbol or polymarker at the given vertex or vertices. If the IRI reference is not valid (e.g., it points to an object that is undefined or the object is not a <marker>
element), then the marker(s) will not be drawn.The following elements can use the marker-end
attribute
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/marker-end