I'd like to be able to draw a black Bezier curve of arbitrary shape which has a white border to it (the centre of the curve being black). Is there an easy way to do this?

For instance, see the attached image. It's easy to do what I want for a straight line by just copying the original bezier curve, increasing the width and pasting on top of the original. But it doesn't quite work as well when there are curves; see the curve in the figure whose left border is thicker than the right.

Examples of Bezier curves with borders.  The straight line is what I'd like, a bezier curve with an even white border around it. The left is a naive attempt at doing the same when a curve is involved.  The borders don't work out as smoothly.

2 Answers 2


Here's a method that might work for you. This uses the pattern along a path feature.

  1. Create a Bézier curve, with a black fill, and white stroke

  2. Draw a rectangle with the same fill and stroke, and click Path > Object to path.

  3. Press CTRL+C to copy the rectangle to the clipboard

enter image description here

  1. Select the curve, and click Path > Path Effects

  2. Click the Add button, and choose the "Pattern on a Path" Effect

  3. Click on the Paste Path button

  4. Choose the "Single Stretched" option

enter image description here

Here's the result, as you can see the Bézier curve is editable

enter image description here

If you don't like the white border around the ends, you could always employ the clipping mask trick as mentioned by user287001.


You can convert your stroke to path. It can have different fill and stroke colors:

enter image description here

Here a wide red stroke is drawn. Its converted to path (Path > Stroke to Path). A black stroke is added like to any closed shape.

If you need open ends, you can add a clipping mask. It's done in bottom line.

  • This is great, really helpful!
    – user26866
    Commented May 14, 2018 at 20:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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