Creating and Working With Vector Graphics in Photoshop

Andy Betts 05-03-2018

Adobe Illustrator is the industry standard application for graphic design. It’s the best tool for working with vector-based files.


Sadly not everyone has Illustrator, but lots of people do have Photoshop. And Photoshop has basic support for vector images. In this guide, we’ll take a look at how to work with vector graphics in Photoshop as an Illustrator replacement.

What Is a Vector Image?

Photoshop is primarily designed for raster images. These are polygonal images drawn pixel by pixel. They support huge amounts of detail, so are used for photos. The file sizes can be big, though, and you can’t enlarge without a loss of quality.

Vector images are lines and curves generated by mathematical formulas. This means you can resize them infinitely, and the file sizes are often very small. You can convert images to vector graphics in Adobe Illustrator How to Vectorize an Image in Adobe Illustrator Adobe Illustrator makes it easy to convert images to vectors without losing quality. Here's the step-by-step process to vectorize. Read More .

Vectors are great for graphic design work, including designing logos and icons.

creating vector graphics photoshop tutorial


A piece of vector art consists of multiple objects. Each object is a line or shape whose edge is defined by a path. In Photoshop, the path is shown as a thin blue line (although it’s technically invisible).

You can apply two types of color to each object.

  • A Stroke is a line that follows the path.
  • A Fill adds a solid color or pattern to the space surrounded by the path.

You set both in the options bar at the top of the screen. You can also set either to No Color if you want them to remain blank. For the stroke, you can also set the thickness in pixels and the style. A solid line is the default.

In Photoshop, you draw vector images with shapes, lines, and text.


Draw Vector Shapes and Lines

Photoshop comes with tools for drawing several common shapes. By default, the Rectangle Tool is highlighted. Click and hold on that icon to reveal the full set of tools:

  • Rectangle Tool
  • Rounded Rectangle Tool
  • Ellipse Tool
  • Polygon Tool
  • Line Tool
  • Custom Shape Tool

You can always select the highlighted tool by pressing U on your keyboard. Alternatively, press Shift + U to cycle through the tools until you find the one you want. Keyboard shortcuts Adobe Photoshop Keyboard Shortcuts 101 Whether you're a beginner or a pro, these Adobe Photoshop keyboard shortcuts will save you hours of time. Read More are a good way to quickly navigate Photoshop.

Draw Basic Vector Shapes

Select the tool for the shape you want to draw, then add your Fill and Stroke colors.

Now click and drag in your canvas. The shape is drawn from the corner in whichever direction you’re dragging. To create a symmetrical shape, such as a circle or square, hold down the shift key.


creating vector graphics photoshop tutorial

To draw a triangle, select the Polygon Tool. Click once on your canvas to open the Create Polygon settings box. Set Number of Sides to 3.

Modify and Edit Vector Shapes

You aren’t restricted to basic shapes when creating vector graphics in Photoshop. They can be modified very quickly.

First, select the shape. This will highlight the shape, and show anchor points along its path. These are points where the shape has corners or curves.


creating vector graphics photoshop tutorial

Choose the Direct Selection Tool from the toolbar (click and hold on the Path Selection Tool icon to find it). Click one of the anchor points and drag it in any direction to deform the shape.

creating vector graphics photoshop tutorial

For more advanced edits, move two or more anchor points at the same time. Click one to highlight it, then Shift + click another. Now use the cursor keys on your keyboard to move both points simultaneously.

Merge and Combine Vector Shapes

For even more complex shapes, you can use Path Operations. This allows you to combine multiple shapes into single new ones.

Start by drawing a shape on your canvas. Next, click the Path Operations button in the options bar at the top of the screen. Normally, every new path or shape goes onto its own layer. Change that by clicking Combine Shapes.

creating vector graphics photoshop tutorial

Now draw another shape. This will go on the same layer as your first shape. When you need to move the objects individually, use the Path Selection Tool.

creating vector graphics photoshop tutorial

Drag the second shape so that it overlaps the first. The two merge together into a single shape, although they remain as separate objects. Click Merge Shape Components in Path Operations to combine them into a single object.

creating vector graphics photoshop tutorial

Use the Path Selection Tool to select the second shape you drew. Now, in Path Operations choose Subtract Front Shape. The shape is now deleted, along with the area where it overlaps with the first shape.

creating vector graphics photoshop tutorial

Highlight both shapes. In Path Operations select Intersect Shape Areas. This removes both shapes, apart from the areas where they overlap. We’re using this option to create a semi-circle.

creating vector graphics photoshop tutorial

Finally, highlight both shapes and select Exclude Overlapping Shapes. This removes the area where the two shapes overlap, and leaves everything else in tact.

These tools are an effective way to build new shapes, or to split or cut pieces out of existing ones. They work with the Pen Tool and Text as well.

Draw Vector Lines

There are two other shape-related tools to know about. First is the Line Tool.

Select the tool, and set the Height in the options bar. This sets the thickness of the line. Then click and drag in your document to draw it. Hold down the shift key to snap the line to zero or 90 degrees.

creating vector graphics photoshop tutorial

This tool does have a few hidden features, but for the most part you’ll be using it to draw a straight line.

Draw Custom Vector Shapes

Finally, the Custom Shape Tool. Set the fill and stroke colors, then click the Shape option in the options bar. Here, you can choose one of countless preset custom shapes that Photoshop provides.

creating vector graphics photoshop tutorial

To add more shapes beyond the initial selection, click the Settings cog and choose a category to add. There are shapes for all uses—icons, speech bubbles, arrows, textures, and more. You can also load third-party shapes.

creating vector graphics photoshop tutorial

Click and drag to add the shape to your image. You can also click on the canvas to specify an exact width and height.

Drawing Vectors With the Pen Tool

If you’ve got any experience with Illustrator, you’ll know that you use the Paintbrush Tool for freehand drawing. Photoshop has a Brush Tool that does a similar job. But in Photoshop the tool is not vector-based, so you shouldn’t use it for drawing. You should use the Pen Tool instead.

The Pen Tool is one of the most powerful features in Photoshop. You’ll use it a lot in photo editing in Photoshop Learn Photo Editing in Photoshop: Get the Basics Down in 1 Hour Photoshop is an intimidating program—but with just one hour, you can learn all of the basics. Grab a photo you want to edit, and let's get started! Read More , since it enables you to create very precise selections. It’s also great for drawing and vector art.

Get Started With the Pen Tool

The Pen Tool works by drawing a path between anchor points you create when you click on the canvas. Add a stroke to the path and you can draw an outline; add a fill and you can draw a solid object. For more, check out our full guide to using the Pen Tool How To Use Photoshop Pen Tool Read More .

creating vector graphics photoshop tutorial

Here’s a quick primer to get you started:

  1. Select the Pen Tool (P). Click on the image canvas to drop an anchor point.
  2. Move the cursor a few inches and click again to drop another anchor point. A path will be created to connect the two. Set the stroke to 5px, black, to help you see it better.
  3. Click a few more times to develop the path. Click and drag to create a curved path. This will also add handlebars to the anchor point. Drag these to control the angle and depth of the curve.
  4. Click Enter to create an open path (a line), or click the first anchor point to create a closed path (a shape).

creating vector graphics photoshop tutorial

What makes the Pen Tool so useful is that you can go back and edit your shape at any time:

  • Get the Direct Selection Tool (A). Select an anchor point on the path and drag it to a new position. Use this tool with an anchor point’s handlebars to edit a curve, too.
  • Select the Add Anchor Point Tool by clicking and holding on the Pen Tool. Click somewhere on the path to manually add a new anchor point, then drag it into place. This enables you to fine tune your shape.

Three Pen Tools

creating vector graphics photoshop tutorial

Photoshop offers three different pens for drawing.

The Pen Tool is the default, and most flexible option. For beginners, we’d recommend using this primarily for drawing straight lines. As you get more advanced you may find yourself using it for everything.

The Freeform Pen Tool lets you draw freehand, similar to the Brush Tool. It still creates a path that you can tweak and edit later. The anchor points are generated automatically as you draw. This is a great tool if you use a graphics tablet The Best Graphic Tablets and Graphics Programs for Digital Design We've rounded up the best graphic design tablets and software to use if you want to break into cartoons and other forms of digital art. Read More .

The Curvature Pen Tool makes it easy to draw curves without needing to play with the handlebars as you do with the main Pen Tool.

Trace an Image as a Vector in Photoshop

Once you’ve learned how to use the different pen tools, you can use them to trace images. This is how you turn a sketch you’ve scanned, or an object in a photo, into a vector image.

Open the image in Photoshop and zoom in. Now select the Pen Tool and place your first anchor point on the border of the object you want to trace. Your new drawing will automatically go onto its own layer. Continue clicking around the edges to create your path.

creating vector graphics photoshop tutorial

If the object you’re tracing is against a plain background, try the Freeform Pen Tool with the Magnetic option activated in the options bar. This snaps your path to the edge of the object.

Work With Vector Text in Photoshop

Using text in Photoshop is fairly self-explanatory. Select the Horizontal Text Tool (T), click on the image canvas to create a text box, then type. You can adjust the font, size, weight, and everything else, just as you would in any other app.

For normal text, set a fill color but no stroke. Only apply a stroke for heavily stylized text.

creating vector graphics photoshop tutorial

When you’re done you can convert the text into a vector object. Select the text and go to Type > Convert to Shape. This enables you to access the anchor points on each character, so you can tweak them individually. It’s good for changing the color of a single letter or tweaking the look of the font.

Once converted, the text is no longer editable. It’s a good idea to duplicate then hide the original text layer, just in case you need a back up.

Managing Vector Objects

In order to create your artwork you need all these objects to be in the right position and at the right size. Here’s how to do that.

  • Move objects by selecting them with the Path Selection Tool (A) and dragging them into place.
  • Resize objects by selecting them with the Path Selection Tool then hitting Ctrl + T on Windows or Cmd + T on Mac. This shows a box around the object. Grab a handlebar along the edge and drag in or out to resize. Hold the Shift key to maintain the original aspect ratio.
  • Rotate an object by holding your mouse just outside one of the handlebars until the cursor turns into a rotate icon. Now click and drag.
  • Reorder objects by clicking a layer and dragging it above or below another layer.
  • Align objects by selecting them all with the Move Tool (V) (or holding Shift and clicking multiple layers), then using the align controls in the options bar.

Vector Graphics in Photoshop: Put It All Together

Now you know how to use all the tools, you can put them together to create your own pieces of vector art.

creating vector graphics photoshop tutorial

Photoshop isn’t a genuine alternative to Illustrator The Best Vector Software for Mac Designers on a Budget Here are the best vector software for macOS that you can use for free or buy on a budget. Perfect for modern designers! Read More for anyone who’s serious about graphic design. But for simple things like logos, icons, and small images you want to use in other documents, it’s more than good enough.

Do you use Photoshop for vector graphics? What other tips do you have for creating vectors in Photoshop? Share your thoughts below!

Related topics: Adobe Photoshop, Photoshop Tutorial, Vector Graphics.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *