- From: Jon Ferraiolo <jferraio@Adobe.COM>
- Date: Thu, 03 Feb 2000 08:59:12 -0800
- To: "Pawson, David" <DPawson@rnib.org.uk>
- Cc: www-svg@w3.org
Absolutely.
To place a marker at the end of a <path> such that the marker points in the
same direction as the tangent at the endpoint of the last segment of the
path, use the 'orient="auto" option on the <marker> element. For example:
<svg ... >
<defs>
<marker id="MyMarker" orient="auto" ....>
<!-- Graphics definition for marker go here -->
</marker>
</defs>
<path style="marker-end:url(#MyMarker)" d="..." ... />
</svg>
See section 11.5 of the SVG specification for more information.
Jon Ferraiolo
SVG Editor
Adobe Systems Incorporated
At 11:04 AM 2/3/00 +0000, Pawson, David wrote:
>Is it possible to add an arrowhead to a line
>which could be any direction, such that the
>arrow head 'aligns' with the line?
>
>TIA, DaveP
>
Received on Thursday, 3 February 2000 11:56:39 UTC