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.
Answer
Partial strokes are not part of the Inkscape SVG format, so you have to build them yourself:
- Create a version of the desired rectangle with strokes on all 4 sides.
- Duplicate it.
- Turn off the stroke for one of the rectangles (A) and the fill for the other ones (B).
- Lower rectangle A behind rectangle B, if it isn’t already.
- Use Convert selected object to path on rectangle B.
- Select the side of rectangle B opposite to the desired one and use Delete Segment between two non-endpoint nodes and Delete selected nodes.
Attribution
Source : Link , Question Author : user3855415 , Answer Author : Wrzlprmft