How to create a rectangle with one side stroke only in Inkscape?

How to create a rectangle with stroke only on one side of the rectangle ?

By default the stroke is applied to all sides of the rectangle.


Partial strokes are not part of the Inkscape SVG format, so you have to build them yourself:

  1. Create a version of the desired rectangle with strokes on all 4 sides.
  2. Duplicate it.
  3. Turn off the stroke for one of the rectangles (A) and the fill for the other ones (B).
  4. Lower rectangle A behind rectangle B, if it isn’t already.
  5. Use Convert selected object to path on rectangle B.
  6. Select the side of rectangle B opposite to the desired one and use Delete Segment between two non-endpoint nodes and Delete selected nodes.

Source : Link , Question Author : user3855415 , Answer Author : Wrzlprmft

Leave a Comment