huysentruitw / svglib

SVG parser and composer library for .NET Framework and .NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is this svglib support line arrow?

w8w8w8 opened this issue · comments

I want to draw arrow, is it support ? if fupport ,how to do ? tell me please ,thanks

Do you have an example of how the arrow should look like?

Do you have an example of how the arrow should look like?

I think maybe we can use marker

the code like this :
<svg width="600px" height="100px"> <defs> <marker id="arrow" markerWidth="10" markerHeight="10" refx="0" refy="3" orient="auto" markerUnits="strokeWidth"> <path d="M0,0 L0,6 L9,3 z" fill="#f00" /> </marker> </defs> <line x1="50" y1="50" x2="250" y2="50" stroke="#000" stroke-width="5" marker-end="url(#arrow)" /> </svg>

but , I am try do it :(