22

I am new to Inkscape. I want to draw simple straight lines horizontally & vertically but cannot figure out how to give them a stroke. They simply disappear. Wasted enough time trying to figure it out on my own.

  • 1
    Try pressing "shift + ctrl + f" this should bring up the fill and stroke menu. There are seperate tabs for Fill and Stroke options from there. – Lex May 4 '15 at 9:45
  • Welcome Dave! Thanks for posting your question. Unfortunately, GD.SE is not designed to handle issues regarding basic software education. If you are seeking to learn how to accomplish something within an application, please review the application help files, try the application's forums or try an internet search with your question or an internet search for a tutorial. We are confident you will find answers. If you want to know more about GD.SE, have a look at the help center. Keep contributing and enjoy the site! – Vincent May 4 '15 at 10:13
  • Your View -> Display Mode may be set to "outline". This could explain your symptoms. – Matt Bracewell May 5 '15 at 10:16
18

Select the pen tool (Shift+F6) Anywhere on the canvas do this:

  1. Left Click (start of line)
  2. Move mouse (to location of end of line)
  3. Left Click (to add a node)
  4. Right Click (to end path)

If you cannot see a line you might have the stroke color set to white. There is color palette along the bottom of the window - Shift+Left Click to select a stroke color. If you do not see color you may be in Outline Mode if so switch to normal (View - Display Mode).

If you want the line to be straight horizontal or vertical:

  1. Press and hold Ctrl
  2. Left Click (start of line)
  3. Move mouse (to location of end of line)
  4. Left Click (to add a node)
  5. Right Click (to end path)
  6. Release Ctrl
3

In Inkscape, a line doesn't really have a concept of a fill vs stroke. The line itself is the stroke. Changing its stroke color changes the whole line, because the whole thing is just stroke. Changing it's fill does nothing.

It sounds like what you are trying to do is draw a line and create the outside edges of it like a border. To do this, you need to convert the stroke to a path (Path > Stroke to Path). This will change your stroke so that it's actually a shape (so if you drew one single stroke, it would become a long rectangle).

Now you cam use the Fill and Strokes tool (Shift + Ctrl + P) to change the stroke and fill to different colors. Be sure to look at the stroke Width on the Stroke Style tab as the default width might be very wide compared to the line.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.