lunasvg icon indicating copy to clipboard operation
lunasvg copied to clipboard

Incorrect arrowhead direction

Open viktoras-pal opened this issue 2 years ago • 1 comments

<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <!-- arrowhead marker definition -->
    <marker id="arrow" viewBox="0 0 10 10" refX="5" refY="5"
        markerWidth="6" markerHeight="6"
        orient="auto-start-reverse">
      <path d="M 0 0 L 10 5 L 0 10 z" />
    </marker>
  </defs>
  <!-- Coordinate axes with a arrowhead in both direction -->
  <polyline points="10,10 10,90 90,90" fill="none" stroke="black"
   marker-start="url(#arrow)" marker-end="url(#arrow)" />
</svg>

LunaSVG: image Google Chrome: image

viktoras-pal avatar Feb 17 '22 01:02 viktoras-pal

orient="auto-start-reverse" is not supported for now

sammycage avatar Feb 17 '22 01:02 sammycage