4

If I want to draw a nice line with the Pen Tool in Photoshop, I make a path and then stroke it. However, the stroked path is not a vector now. When I create a shape instead, it must be closed before I can stroke it (or Photoshop will close the shape itself with a straight line).

What I want is to create an open shape (like e.g. the Line Tool does), with the Pen Tool, such that I have a vector line instead of the rasterized stroked path layer. How can I do this?

  • As far as I know, Photoshop can draw any opened shape with the pen tool and store the result in the path panel. without closing it. -- hope I could understand your question or maybe a screen capture will help. – hsawires Jan 6 '15 at 15:33
6

Update: For Photoshop CC

This is now possible in Photoshop CC by drawing your path and adjusting the Stroke options in the Control bar across the top of the screen.

enter image description here


Previous answer (CS6 or earlier)

  • Create a closed shape with the Pen Tool.

  • Add your vector stroke to it.

  • Add a layer Mask (raster or vector) to your vector layer and mask away the section of the path you do not want visible.

Unlike actual vector applications, Photoshop is not designed to create open vector paths. This is merely one of the shortcomings of Photoshop vector tools. You have to simply hide the portions of the closed path you do not want visible.

  • Photoshop is not designed for it; is it possible with Illustrator? – BNJMNDDNN Jan 6 '15 at 16:15
  • 1
    Absolutely possible with Illustrator. In fact, Illustrator does this without any issues whatsoever. – Scott Jan 6 '15 at 16:23
  • 2
    I wish pretty shocked you couldn't do this in Photoshop too, especially as it has the Line tool. The Line tool actually creates a closed shape instead of a line but since it only has 2 point you don't notice. – Paul Phillips Nov 2 '15 at 11:48
  • Note that you cannot use this technique along with a Stroke effect on an unfilled path; the mask is applied before stroking, and so cannot remove an unwanted stroke section. – Phrogz Jul 12 '17 at 21:31
  • 1
    @Phrogz You can ---- Choose the Blending Options for the layer with the mask and tick the Layer/Vector Mask Hides styles option (whichever is appropriate). That will hide the stroke outside the mask. – Scott Jul 12 '17 at 21:34

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.