Mobile app version of vmapp.org
Login or Join
Carla748

: Inkscape: Caps on lines are always black If I use a cap on a line, usually so I can make an arrow, it is always black despite the stroke color. Is this a bug or am I not understanding

@Carla748

Posted in: #Inkscape #Vector

If I use a cap on a line, usually so I can make an arrow, it is always black despite the stroke color. Is this a bug or am I not understanding something?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Carla748

1 Comments

Sorted by latest first Latest Oldest Best

 

@Cugini998

From the Inkscape Wiki:


By default, markers are black. You can change their color to match the color of the stroke of the object they are applied to by enabling an effect: Extensions > Modify Path > Color Markers to Match Stroke.


You will have to apply this after you had drawn the line and defined the marker.



For a text based approach we may also edit the resulting .SVG file for a given marker to edit the path style as follows:

<marker
...
<path
...
style="fill-rule:evenodd;stroke:<color>;fill:<color>"
... />
....
</marker>


Replace <color> with the desired marker color in 6 digit RGB hexadecimal notation (eg. #ff0000 for red).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme