In Photoshop CS6, you can use the shape tools to create vector shapes, which appear automatically on shape layers (also called vector layers). Like the vector objects in Adobe Illustrator, the underlying structure of a vector shape in Photoshop is an editable path, complete with anchor points and direction lines. Via Options bar controls, you can apply or edit the fill and stroke settings for a selected vector shape at any time. Here we will show you how to make the stroke of a vector shape dashed or dotted.
Creating a vector shape
On the Tools panel, we chose the Custom Shape tool (U or Shift-U); you could also choose any other shape tool on the same fly-out menu. Via the menu in the Custom Shape picker, we loaded the Objects library, then clicked the Umbrella preset. From the Tool Mode menu on the Options bar, we chose Shape (to cause the object to appear on a shape layer).