Inkscape.org
Beginners' Questions How to only make the stroke colour of maker match to the object (not filled)?
  1. #1
    gracelee217 gracelee217 @gracelee217

    I create a hollow triangle object and make it into maker, then I use it to form an arrow with a Bezier line.

    But when I want to change the colour of this arrow by "Extensions --> Modify Path --> Colour Makers... --> From object", the triangle part of the arrow is filled with the colour of Bezier line, not being hollow anymore.

     

    Is there any options that I can use to change the colour of triangle the same as the Bezier line, but keep the triangle hollow?


    Thank you

  2. #2
    Polygon Polygon @Polygon🌶

    Perhaps try Path->Stroke to Path on your triangle first?

  3. #3
    gracelee217 gracelee217 @gracelee217

    Thanks for your replying, but this doen's work.

    It still becomes filled by colour.😥

  4. #4
    Paddy_CAD Paddy_CAD @Paddy_CAD

    There's a built-in marker that might work for you.

    It looks good in Inkscape and in Firefox, but Safari renders the upper arrowhead as a black triangle. I used [Path > Stroke to Path] for the lower arrowhead and this looks good everywhere.

  5. #5
    Polygon Polygon @Polygon🌶

    @gracelee217 Have you disabled "Fill" at "Color Markers"? Here it works as expected on macOS:

  6. #6
    David248 David248 @David248
    *

    You can also open xml editor.

    The used markers are stored in defs section. If you select on canvas the path you did apply the marker to,  xml editor displays its attributes. Click on "style" attribute, it opens a window where you can search for "end-marker". It refers to something as #marker5.

    If you want the fill of the path to be hollow, you may also tweak marker settings in stroke tab of fill and stroke panel, or modify in xml editor the x and y reference point of marker (by default, it seems to be on middle of bounding box) : they are located in marker5 node, not in its path(s).

    In xml editor, search in defs section for this marker and expand it to find the path it's composed of.

    Then in the style attribute of this path, search for "stroke" and replace hex value of color by "context-stroke" and click on button to close the window.

    There is a small display bug, so you need to move a little the path with marker on canvas to refresh.

     

     

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to only make the stroke colour of maker match to the object (not filled)?