html - How to draw a marker in middle of path? -
i have path (which line). able draw arrowhead of marker-end attribute of path. want make + sign in middle of path. think purpose, marker-mid should used.
here code , output when use marker-end. 
here code , output when use marker-mid. 
marker-mid specifies marker type should placed points in path not first or last point.
in other words, if have path consists of 4 points (thus 3 lines), marker-mid markers placed on middle 2 points.
there no way automatically place markers in middle of line segment wish. need either place appropriate shape @ point yourself, or split line 2 half-lines.
svg 2, still in development, have feature, can't yet.
Comments
Post a Comment