How to draw a figure in photoshop. How to Draw Vector Shapes in Photoshop, Fill and Stroke Options


Greetings Photoshop conquerors! Today we will talk about such an interesting Photoshop tool as arbitrary shapes. Arbitrary shapes in Photoshop are rarely used, more often different brushes are used. However, the instrument Arbitrary figure» is embedded in the program and finds its application.

Where arbitrary figures "lie"

You can select it on the main toolbar in the section where there is a rectangle, ellipse, polygon and line. To select the desired tool, use the keyboard shortcuts Shift + U several times.

There are a lot of settings on the auxiliary tool panel, however, it is best to start working with the tool from the Shapes drop-down window, in which you can select any of the proposed arbitrary shapes and start drawing it.

After selecting the figure, click the left mouse button anywhere on the image and move the cursor without releasing the button in any direction. You will see how the outline of the selected shape appears, which changes in size and thickness, depending on the movement of the mouse.

The resulting figure does not lose its quality depending on the size of the picture. Initially, an arbitrary shape does not have an outline and color, but they can be selected on the additional tool settings panel. In this case, the contour can be either a solid line or a broken dashed line, the intensity of which is indicated next to it.

If you select an arbitrary shape and simply left-click in the draw area, a window will pop up where you need to enter the parameters for the height and width of the stamp. For ease of editing, each new arbitrary shape is created on a new layer.

How to load custom shapes in photoshop

You can create similar shapes for use yourself, vector images are used for this, preferably good quality. Also, the Internet is full of already made thematic collections, it is enough to download and install them. All installation files have the extension . In the drop-down window where the contour of the figure is selected, there is a small button that opens the settings.

There you need to select the line "Load shapes ..." and find the desired file. The new shapes will appear at the end of the list.

If you want to replace existing shapes with new ones, select the Replace Shapes command. The selected file will replace the current shapes. You can always roll back the original settings using the "Restore Shapes ..." command.

If you want to permanently keep the selected shapes, copy the file to the Photoshop system folder at this address: "C:\Program Files\Adobe\Adobe Photoshop CS6\Presets\Custom Shapes"

That's all!
Sincerely, Ul Sartakov.

In this tutorial, we will look at everything related to creating arbitrary shapes in Photoshop and then working with them. Since there is a lot of material, we will break it into two parts. In the first part, we will learn how to create a shape, define it as an arbitrary shape, and then display it on the screen and use it as needed. In the second part, we will look at how to combine various shapes into separate sets of shapes and save them in the program.

The idea for this tutorial came to me when I was looking through a scrapbooking magazine with numerous pages containing ready-made templates. simple figures. These figures were grouped around various themes and were absurdly expensive. I then thought: “Hey, you can create all these shapes in Photoshop yourself and for free!” Plus, you don't have to be into scrapbooking to benefit from creating your own custom shapes.

Firstly, when creating figures, you can just have fun! And if you create a lot various figures and combine them into a separate set, it will be even more interesting. Secondly, you can use arbitrary shapes as a decorative element in the design of drawings or even in design work. Thirdly, you can combine an arbitrary shape with a vector mask and get a funny photo frame. But before we start using custom shapes, let's learn how to create them!

Before starting to master the material, I will allow myself one more digression. Creating arbitrary shapes requires the use of the Pen Tool. You can create shapes with basic Shapes tools like the Rectangle or Ellipse, but if you don't want to limit yourself to creating specific shapes that look like boxes or bicycle tires, you'll need to use the Pen tool. We explored the Pen Tool in more detail in our How to Make Selections with the Pen Tool tutorial, so in this lesson We will touch on this topic only briefly. If you are unfamiliar with the basic properties of the Pen Tool, read our lesson on using this tool first.

In this tutorial, we will create arbitrary shapes by first tracing an object in the image. If you can draw, great - then you can easily draw a freehand shape without tracing the subject, because when creating a freehand shape, it doesn't matter how you draw it - with a stroke or freehand. As for me, I prefer to trace the object (since I do not have artistic abilities), so in this tutorial we will do just that.

I'm going to make a custom shape out of this cute Gingerbread Man:

Gingerbread Man

Let's start!

Step 1: Select the Pen Tool

As I mentioned, you can create arbitrary shapes using the basic Shapes tools such as Rectangle or Ellipse, but if you try to trace our Gingerbread Man with these tools, it will most likely stay in headless at best (sorry for the slight irony). What we really need is the Pen Tool, so let's select it from the Tools panel:

Selecting the pen tool

You can also select the pen tool by pressing the P key.

Step 2: Selecting the "Shape Layer" Option in the Options Bar

With the Pen Tool selected, let's take a look at the Options Bar at the top of the screen. On the left side of the panel, you will see a group of three icons:

Three icons in the Options Bar that allow us to choose how we want to use the Pen Tool

These icons show us what we can do with the pen tool. Right icon in this moment looks shaded. It is available to us only when we work with the main tools of the "Shapes" group (the "Pen" tool and the tools of the "Shapes" group have almost the same options in the settings panel). As you and I went through in the tutorial How to make selections with the pen tool, the icon in the middle is used when we want to draw paths, but at the moment we do not need it. We want to use the pen tool to draw a shape, and for this we need to select the icon on the left, which is responsible for the Shape Layers parameter:

To draw shapes with the pen tool, select the Shape Layer option

The Shape Layer option is selected by default whenever you access the Pen tool, so you may not need to set it yourself. But it's still a good idea to check and make sure this option is selected before you start drawing the shape.

I should point out that there is no difference between drawing paths and drawing shapes with the pen tool. In both cases, you click in the document window to set anchor points, then move the guide lines as needed to create straight or curved sections (again, if you're not familiar with these concepts, check out our How to Make Selections with the Pen Tool lesson). In fact, whether you are "officially" drawing shapes or paths, you are drawing paths anyway. The difference is that when drawing shapes, Photoshop fills the path with color as we draw, allowing us to see the shape.

Oddly enough, but this property will make our work a little more difficult. Why - we will consider further.

Step 3: Start drawing the shape

Once we've selected the Pen Tool and the Shape Layer option in the Options Bar, we can start tracing the image. I want to start tracing with the Gingerbread Man's head. To do this, I'll click to set anchor points and start dragging guide lines to create a curved stroke around the Man's head. In the image below, you can see anchor points and guide lines, but there is a problem. Photoshop fills the shape's outline with the background color (black in my case) during the stroke, preventing us from seeing the Man's head:

The program fills the outline with the background color while drawing, preventing us from seeing the image.

In order for the program not to hide the image itself during the stroke, we just need to go to the layers panel and reduce the opacity of the shape layer. At the moment, in the layers panel, you can see that we have two layers - the bottom background layer (Background), on which the image of the Gingerbread Man is placed, and upper layer shapes called "Figure 1" (Shape 1). I can tell with certainty that the shape layer is currently selected because it's highlighted in blue, so to decrease its opacity, we just need to select the Opacity option in the upper right corner of the Layers panel and reduce its value. In my case, I'll lower the opacity to 50%:

Lower the opacity of the shape layer using the Opacity option in the top right corner of the Layers panel

After lowering the opacity of the shape layer, the Man's head is visible through the background fill color, as a result of which it will be much easier for us to make further strokes:

After lowering the opacity of the shape layer, the image is visible through the background fill color

Step 5: Continue tracing the image

Now that the Gingerbread Man is visible through the fill color of the shape I'm drawing, I can continue tracing the image with the Pen Tool until I'm back at the start of the stroke:

The outline of the figure is completely finished.

If we look at the Shape layer in the Layers panel, we can see that a distinct Gingerbread Man shape has appeared on it:

On the layers panel, the figure of our Little Man is now clearly visible.

So far, we've been fine. We have outlined the shape of the Gingerbread Man, and in some cases this would be enough. In my case, however, the outlined figure needs some work. At the very least, I think we need to include the eyes and mouth in the outlined silhouette, and perhaps also a bow tie and two large buttons underneath. How do we add these details to the outlined shape? Very simple! We will not add them - we will remove (or subtract) these details from the figure!

Step 6: Select The Ellipse Tool

Let's start with the eyes. Optionally, we could select the eyes with the pen tool, but since they are round on the Little Man, we will select them more the easy way using the Ellipse Tool. Select the Ellipse tool from the toolbar. By default, this tool is hidden behind the Rectangle Tool, so click on the Rectangle Tool and hold the mouse button down for a few seconds, which will bring up a pop-up menu on the screen where you can select the Ellipse Tool:

Click on the Rectangle tool in the toolbar, then keep the mouse button pressed until a pop-up menu appears on the screen, where we select the Ellipse tool

Step 7: Select The Subtract From Shape Area Option

With the Ellipse Tool selected, look in the Options Bar where you'll see several icons grouped together that look like little squares that are connected to each other. in various ways. These icons allow us to perform various actions with shapes, such as adding a shape to an area, subtracting a separate area from it, and intersecting areas of several shapes. Click on the third icon from the left, which is responsible for the option "Subtract from shape area" (Subtract from shape area):

In the settings panel, click on the option icon "Subtract from shape area":

Step 8: Draw Individual Shapes To Extract Them From The Outlined Silhouette

Now, with the Subtract from Shape Area option selected, we can start adding detail to our shape by deleting individual areas. I'll start transforming the shape by drawing an oval around the left eye:

Draw an oval around the left eye while holding down the mouse button

When I release the mouse button, the oval area around the eye will immediately disappear or "cut out" from the stroke of the main shape, leaving behind a hole through which the left eye of the Little Man will be visible in the original image, placed on the lower "Background" layer:

The left eye is now "cut out" from the shape's original stroke, leaving the eye visible in the original image below the outlined silhouette.

I will do the same with the right eye. First, I'll draw an oval around the eye:

Draw an oval around the right eye

As soon as I release the mouse button, a second round hole will appear, through which the Man's eye will also be visible in the original image:

A second hole appeared on the figure, through which the Man's eye is visible.

Since the two buttons under the bow tie are also round, I'll use the Ellipse Tool again to remove them from the outlined shape. First, I'll draw an oval around the top button:

Draw an oval around the top button

When I release my mouse button, the oval area around the button will immediately disappear from the outlined shape, leaving behind a hole through which the button will be visible in the image below:

The figure has a hole through which the top button is visible.

And now I'll do the same for the bottom button, starting by drawing an oval around it:

Draw an oval around the bottom button

When I release the mouse button, a fourth hole will appear on the outlined silhouette:

Both buttons are now cut out of the outlined figure.

If I'm currently looking at the shape's layer thumbnail in the Layers panel, I can see two eye holes and two button holes that I've cut out of the outlined shape:

The shape layer thumbnail shows us the eye and button holes cut from the outlined shape.

Step 9: Extract The Remaining Details From The Outlined Silhouette Using The Pen Tool

I'm going to switch back to the Pen Tool because I need to add a few details to the stroked shape that I can't pick out with the Ellipse Tool.

I want to add a mouth to the outlined silhouette, as well as a bow tie. Since the Subtract From Shape Area option is already checked after reselecting the Pen Tool in the Options Bar, I'll just start tracing the mouth and bow tie to "cut" them out of the outlined Gingerbread Man silhouette.

The image below shows the stroke lines along with the original image of the Gingerbread Man showing through the holes I created:

Both the mouth and the bow tie are now cut out of the outlined Gingerbread Man shape with the Pen Tool

Let's finish drawing the shape of the Gingerbread Man by cutting out wavy lines of powdered sugar on his legs and arms. Again, I'll be using the pen tool to create the tracks. First, I'll trace a path of icing sugar on Man's left arm, causing it to be cut out of the shape's original stroke:

Using the pen tool, cut out a path of icing sugar on the left hand of the Little Man

After outlining the first path, I'll move on to the remaining three and start tracing them until all four tracks of powdered sugar are cut out of the Man figure:

The powdered sugar trails on the legs and arms are now cut out of the outlined silhouette

If we look again at the shape's layer thumbnail in the Layers panel, we can clearly see the lines of powdered sugar, eyes, mouth, bow tie, and buttons cut out of the shape:

The shape layer thumbnail in the Layers panel reflects all the details that are cut from the original stroke of the Gingerbread Man shape.

So, the figure of the Gingerbread Man is ready! We used the Pen tool to make the initial stroke of the shape, and then we used the Pen and Ellipse tools along with the Subtract from Shape Area option to add fine details to the shape.

Step 10: Increase The Opacity Of The Shape Layer To 100%

After we have stroked certain areas of our shape, we no longer need to see the original image under the outlined silhouette, so we again select the Opacity option (Opacity) in the upper right corner of the layers panel and increase the value to 100%:

Raise the opacity of the shape layer to 100%

I'm also going to temporarily hide the Background layer from view by clicking on the layer's visibility icon (the icon in the eyeball) so that we can only see the outlined shape on transparent background. If you don't want to, you can choose not to hide the background layer. I do this only for the convenience of viewing the figure:

Click on the layer visibility icon to temporarily hide the background layer from view

And here's what the Gingerbread Man shape I created looks like after hiding the background layer from view and increasing the opacity of the shape layer to 100%:

Finished figure of the Gingerbread Man placed on a transparent background

After numerous actions, we have finally created our figure! But this is not the end. Now we need to make an arbitrary figure out of it, and this is what we will do next.

Step 11: Define the Shape as a Custom Shape

To make a custom shape out of a shape, first make sure the Shape layer is selected in the Layers panel. You also need to make sure that the preview thumbnail of the shape layer is selected. If it is selected, then it will be framed by a white highlighted border and you can see the outlined outline around the shape in the document. If the layer thumbnail doesn't have a highlighted border and you can't see the outline around the shape, just click on the layer thumbnail to select it:

If necessary, click on the thumbnail of the shape layer to select it.

Note: if you ever need to hide the outline of your shape, just click on the layer thumbnail again to deselect it

With the shape layer selected and the layer thumbnail selected, go to the Edit menu at the top of the screen and select Define Custom Shape:

Choose Edit > Define Custom Shape

As a result of this action, the Shape Name dialog box will open, where you will need to enter a name for your shape. I'll name my shape Gingerbread Man:

Enter a name for your shape in the appropriate section of the Shape Name dialog box

Click OK to exit the dialog when the name is entered, and that's it - your custom shape is ready to use! On the this stage you can close the document in Photoshop since we created and saved our shape. Now let's see where it can be found and how it can be applied!

Step 12: Create a New Document in Photoshop

Create a new blank document in Photoshop by going to the File menu section at the top of the screen and selecting New. This action will open the New Document dialog box, where you can specify any image size for your document. In the "Settings" (Preset) line, I will choose a size of 640 × 480 pixels:

Create a new blank document in Photoshop

Step 13: Select The Custom Shape Tool

After creating a new empty document, select the Freeform Shape tool from the toolbar. By default, the Rectangle Tool is displayed on the screen, so click on it and hold the mouse button down for a few seconds until a pop-up menu appears with a list of other tools, where you can select the Custom Shape Tool (Custom shape tool):

Click on the icon of the Rectangle tool and hold down the mouse button, then from the menu that appears, select the Freeform Shape tool

Step 14: Selecting Our Custom Shape

With the Freeform Shape tool selected, right-click in the document window, which will bring up a shape selection box where you can select any of the currently available freeform shapes. The shape you just created will be the last one in the list of shapes. To select it, simply click on the corresponding figure thumbnail:

Right-click in the document window to open the shape selection box, then click on the custom shape thumbnail to select it

Step 15: Draw Our Shape

After selecting a custom shape, simply click in the document window and, holding the mouse button down, draw the shape. To maintain the shape's proportions as you move the cursor and not accidentally distort them, press and hold the Shift key. You can also press and hold the Alt (Win) / Option (Mac) key to draw the shape from the center. If you want to change the location of a shape while drawing it, press and hold the spacebar, then move the shape to a new location, then release the spacebar and continue drawing the shape.

In the process of drawing, you will see only a thin outline of the future figure:

As you draw the figure, its thin outline will appear.

When you are satisfied with the location and size of the shape, simply release the mouse button and the program will immediately fill the shape with the color that is currently the background (in my case, it is black):

Release the mouse button and Photoshop will fill the shape with color.

Step 16: Double Click The Shape Layer Thumbnail To Change The Color Of The Shape

You don't have to worry about the color of your shape as you draw it and add it to your document. The program will automatically fill the shape with the color that is currently selected as the background color. If you want to change the color of the shape after that, just double-click on the thumbnail of the shape layer. Namely, by the layer thumbnail, and not by the shape preview thumbnail located on the right side (which is formally called the vector mask thumbnail). You want the thumbnail on the left side, which looks like a color swatch icon with a little slider at the bottom. Double-click on it with the mouse button to change the color of the shape:

Double-click the shape layer thumbnail (color swatch icon) on the left to change the color of the shape

This action will open the Color Picker where you can choose a new color for your shape. For my Gingerbread Man, I want to choose brown:

Use the color picker to select a new color

Click OK to exit the Color Picker when you choose a color, and your shape will immediately be filled with the new color:

Shape color has now changed

You can change the color of your shape as many times as you want, whenever you need!

Step 17: Resize The Shape If Needed With The Free Transform Command

When working with shapes, you can change more than just the color. The big advantage is that shapes are drawn using vectors instead of pixels, so you can safely resize shapes whenever you want without losing image quality! If you decide you need to make your shape bigger or smaller, simply select the shape layer in the Layers panel and then press Ctrl+T (Win) / Command+T (Mac) to open the transform box. Resize the shape by dragging any of the corner handles. Press and hold the Shift key while moving the handle to keep the proportions of the shape. You can also press and hold the Alt (Win) / Option (Mac) key as you move the handle to resize the shape from its center:

Resize a Shape with a Free Transform Box

To rotate a shape, simply click outside the free transform box and move the cursor in the desired direction:

Click outside the transformation frame and move the cursor to rotate the shape

Press the Enter (Win) / Return (Mac) key when you're done resizing the shape to confirm the final transformation.

You can add as many copies of your custom shape to your document as you wish, each time changing the color, size, and location of the shape as desired. Each copy of the custom shape will be placed on a separate shape layer in the Layers panel. In my case, I added several Gingerbread Man shapes to the document, each with a different color, size, and angle of rotation. Please note that regardless of their size, all shapes retain sharp, clear angles:

Add as many copies of your custom shape to the document as you wish, changing the color, size and angle of rotation of each of them

And here we are! We first created the shape by tracing the original drawing with the pen tool. We cut out the little details on our shape by using the Pen and Ellipse tools with the Subtract from Shape Area option set. Next, we saved our shape as a custom shape using the Define Custom Shape option under the Edit menu section. After that we created new document, selected the Freeform Shape tool, and drew a freeform shape on our document. And finally, we looked at how you can change the color, size and angle of an arbitrary shape at any time!

So, we have learned the basics of creating and using arbitrary shapes in Photoshop, i.e. learned the first part of our lesson. In the second part, we will look at how to combine the arbitrary shapes we have created into separate sets and save them in the program.

Translation: Ksenia Rudenko

Photoshop has an interesting tool - "Arbitrary figure". In practice, this tool is rarely used, but it still has a number of interesting features. In this lesson, you will get acquainted with arbitrary shapes, as well as learn how to independently add your own sets of such shapes to Photoshop.

There is a group of homogeneous tools on the toolbar (shortcut U ). These include: rectangle, rounded rectangle, ellipse, polygon, line, and arbitrary figure.

There is a box on the attributes panel where you can select a shape from among the standard ones. To do this, click on the small arrow to the right of the thumbnail. Look at the screenshots:

What is an arbitrary figure?

It is a vector image, which means it has no size restrictions. Therefore, it can be stretched as much as you like without loss of quality.

The shape does not have its own color (other than the one we choose before creating), volume, shadows, border strokes or anything else. In this, it resembles a brush, where you set the color yourself, everything else will have to be finished on your own.

How to use?

To draw a custom shape, select it from the drop-down list, then left-click in your open document and move your mouse to the side. You will see that the outline of the future figure has appeared. By moving the mouse in different angles and directions, you adjust its size and shape, i.e. it can be wide or narrow. Do not forget to first select the desired color, and then draw.

Hold down the Shift key to draw the shape perfectly even, without distortion in any direction.

How to set up your shapes in photoshop?

You can independently install a set of figures into your program. The same principles work here as, for example, with or. To install them, firstly, download a set with figures to your computer. These sets have an extension csh.

After that, open the shapes menu. You will see these 4 commands:

Selecting "Download...", a dialog box will open in which you need to specify the path to the file with the extension csh, for example like this:

This set will automatically be added to the end of the list of all shapes. Let's say you had a set with animals in the list, and you loaded arrows. The result is a list consisting of animals and arrows.

Selecting "Replace...", everything will be the same, except that the new figures will not appear at the end of the list, but will completely replace those that already exist. For example, you initially had sets with animals and arrows loaded in the list, and you decided to open with a replacement set of ornaments. As a result, only ornaments will be on the list.

And if you uploaded several sets, deleted any individual shapes using the command "Delete…", in general, you made a set for yourself, then you can save it with the team "Save Arbitrary...". In the future, it will be possible to download it in the same form or transfer it to someone via the Internet.

Last command "Restore Arbitrary..." allows you to return everything to default.

Please note that in the same menu there is a huge list: Animals, Arrows, Nature, Objects, etc. These are standard sets that Photoshop developers kindly provided to us.

Second installation method with added benefit

Arbitrary shapes can still be installed directly into Photoshop's system files.

It's a little more difficult to do this, but the main advantage of this method is that your set will appear in the list that I described above (Animals, Arrows, Nature, Objects, etc.). If you intend to use this tool often, then this installation method will reduce the time, and you will be able to select the desired set in two clicks.

To do this, you need to copy the file with the extension csh in Photoshop's system folder "Custom Shapes", usually her address is: C:\Program Files\Adobe\Adobe Photoshop CS5\Presets\Custom Shapes.

Noticed an error in the text - select it and press Ctrl + Enter . Thank you!

In this tutorial, we'll cover the basics of working with shapes and shape layers in Photoshop. We'll start our lesson by learning the five basic tools for drawing geometric shapes - Rectangle, Rounded Rectangle, Ellipse, Polygon, and Line.

Then, in next lesson, we'll look at how to draw more complex shapes with the Freeform Shape tool. Most people think that Photoshop is only used for image processing, and if you were to ask them to recommend a good graphics editor, then in most cases the answer would be " Adobe Illustrator».

Indeed, the capabilities of the Adobe Illustrator editor in the field of vector graphics are much wider than Photoshop programs, but, nevertheless, Photoshop can do more in this area than you should expect from an editor. bitmaps. The various tools in the Shapes group and Photoshop's shape layers make it easy to add simple vector images to drawings and drawings.

There are six tools in Photoshop that allow you to draw shapes - Rectangle Tool, Rounded Rectangle Tool, Ellipse Tool, Polygon Tool, Line " (Line Tool) and "Custom Shape" (Custom Shape Tool). They are located in one place on the toolbar.

By default, the Rectangle tool is visible in the panel, but if we click on the tool icon and hold down the mouse button for a few seconds, a pop-up menu will appear with a list of the remaining tools in the Shapes group, from which we can choose the one we need:

All six tools of the Shapes group are located in one place on the toolbar

If you first select one tool in the Shapes group and then want to switch to another, there is no need to revisit the toolbar (although you can do this if you wish). Photoshop allows us to choose right tool in the settings bar at the top of the screen, where all six tools are presented. For example, in the toolbar, I'll select the Rectangle tool:

Selecting the Rectangle Tool

After selecting the Rectangle Tool, six icons appear in the Options Bar representing the various tools in the Shapes group. The tools are placed from left to right in the same order as they appear in the toolbar, so we again see the Rectangle, Rounded Rectangle, Ellipse, Polygon, Line, and Freeform tools. To select the desired tool, simply click on one of the icons:

All six Shapes tools can be selected directly from the Options Bar (after one of them is selected from the Toolbar)

Selecting the Shape Layer option

Before we start drawing shapes, we need to tell Photoshop what type of shape we want to draw, and in this case I don't mean "rectangle" or "circle" by shape type. Actually, Photoshop allows us to draw three different types of shapes - vector figures, outlines and pixel shapes.

In another tutorial, we will take a detailed look at how these three types of shapes differ and in which case which type to use, but in most cases, you will draw vector shapes. They are drawn in a program such as Illustrator. Unlike pixel shapes, vector shapes are resolution independent and completely scalable. This means that we can resize them as we wish without losing image quality. The edges of vector shapes remain crisp and sharp both on screen and when printed.

To draw vector shapes, select the Shape Layers option from the Options Bar. This is the first of three icons closer to the left (the middle icon is the Paths option and the right one is the Fill Pixels option):

To draw vector shapes, select the Shape Layer option.

Choosing a Color for a Shape

After selecting the Shape Layer option, we need to choose a color for our shape. We do this by clicking on the color swatch icon located to the right of the word "Color" (Color) in the settings panel:

Click on the color swatch icon to select the desired color for the shape

This action will open the color palette where we can select the desired color. In my case, I'll choose red. Once you've chosen a color, click OK to close the color palette:

Choose a color for the shape from the color palette

If you're not sure you've chosen the right color for your figure, don't worry about it. Next, we'll look at how to use shape layers to easily go back to the previous steps and change the color of a shape at any time after we've drawn it.

Rectangle tool

As you may have guessed from the name, the Rectangle Tool allows us to draw four-sided rectangular shapes. Simply click in the document window to define the starting point of the shape and then, with the mouse button held down, drag the mouse diagonally to finish drawing the shape. As you move the cursor, you will see the thin outlines of the future figure:

Drag the cursor to draw a rectangular shape. As the cursor moves, the outline of the shape will appear.

When you're happy with the result, release the mouse button and the program will instantly fill the shape with the color you chose in the settings panel:

The program will fill the shape with color as soon as you release the mouse button

Drawing a shape from the center

If you need to draw a rectangle (or other shape) from the center instead of from the corner, place the cursor in the document window to determine the center of the future rectangle and, while holding down the mouse button, start dragging the cursor and drawing the shape as usual. While doing so, press and hold the Alt (Win) / Option (Mac) key as you move the cursor. Pressing this key tells the program to draw the figure from the center. This trick works with all the Shape tools, not just the Rectangle tool:

To draw a shape from the center, hold down Alt (Win) / Option (Mac) as you move the cursor

Drawing squares

We can also draw squares with the Rectangle tool. To draw a square, place the cursor in the document window and start dragging it, drawing a rectangular shape. Once you've started doing this, press the Shift key and keep holding it down as you move the cursor. Pressing the Shift key converts the shape to a square, no matter which direction you move the cursor. You can also add an Alt (Win) / Option (Mac) keypress to draw the square from the center (so you press and hold Shift+Alt (Win) / Shift+Option (Mac)):

To draw a square, while using the Rectangle tool, press and hold the Shift key

Again, Photoshop will only draw a thin outline of the square as you move the cursor, but when you release the mouse button, it will fill the square with color:

The program always waits for you to release the mouse button, and only then fills the shape with color

Options for tools in the Shapes group

If you look in the Options bar, to the right of the six Shapes group tool icons, you'll see a small downward-pointing arrow. Clicking this arrow will open a list of additional options for the Shapes tool of your choice. For example, when selecting the Rectangle Tool, pressing the arrow will open a menu with options for the Rectangle Tool. With the exception of working with the Polygon and Line tools, which we'll cover later, you won't use this menu often because we've already learned how to select basic options using keyboard shortcuts and individual keys.

For example, the Unconstrained option is selected by default, and it is responsible for the normal operation of the Rectangle tool, allowing us to draw rectangular shapes of any size and with any aspect ratio. The Square option allows us to draw squares, but we can do this by simply pressing and holding the Shift key as we move the cursor. The From Center option is responsible for drawing the shape from the center, but again, we can do this by pressing and holding the Alt (Win) / Option (Mac) key:

Click on the small arrow to see more options for the Rectangle Tool

shape layer

Before we move on to the rest of the tools in the Shapes group, let's take a look at the Layers panel. As you remember, at the beginning of the lesson, we learned that in order to draw vector shapes in Photoshop, you must select the "Shape Layer" option in the Options Bar. And now after I have drawn the shape, we can see that a shape layer (a layer of type Shape) has appeared in the layers panel, which the program has named “Shape 1” (Shape 1). Each new vector shape we draw will be placed on a separate layer, which looks different than a regular pixel layer. On the left side of the layer is a color swatch icon that displays the current fill color of our shape, and to the right of the color icon is a vector mask thumbnail:

Shape layers have a color swatch icon on the left side and a vector mask thumbnail to the right of it

As I mentioned earlier, don't worry about choosing desired color for the shape, because we can easily change the fill color of the shape after it's created. To do this, double-click on the color swatch icon of the shape layer:

To change the current color of the shape, double click on the color swatch icon

Photoshop will reopen the Color Picker where we can choose a different color for our shape. I'll choose, this time, blue:

Choose a different color from the color palette

It is enough just to go back at any time and change the color of the shape.

To the right of the color swatch icon on the shape layer is a vector mask thumbnail. The white area on the thumbnail represents our shape. Vector masks are similar to regular layer masks in that they partially obscure a layer, leaving portions visible. In other words, when we draw a vector shape, the program actually fills the entire layer with the selected color, but the mask only shows the color inside the shape area, while the color on the rest of the layer area is hidden. When working with the tools of the "Shapes" group, of course, it is not at all necessary to know how the vector mask works, but it is always nice to understand how the tools work. The gray area around the shape in the vector mask thumbnail represents the area on the layer where the color is not visible, while the white area in the thumbnail represents the area of ​​the color layer:

The white area on the vector mask represents the area on the layer where the color is visible.

To make it easier for us to see how Photoshop renders a vector shape, we can temporarily disable vector masks by pressing and holding the Shift key while clicking on the vector mask thumbnail:

Hold down the Shift key and click on the vector mask to turn it off

After turning off the vector mask, the layer becomes open, and we can see that it is all filled blue color, which I chose to fill the shape. If we look closer, we can see a thin outline of where the shape is located on the layer:

After turning off the vector mask, you can see that the entire layer is filled with color.

To turn the vector mask back on, simply hold down the Shift key while clicking on the mask thumbnail in the layers panel again. After turning on the mask, the color will remain only inside the area of ​​​​the shape, while in the rest of the layer the color will disappear from view. The white areas around the shape in the document window belong to the background layer below:

Document after re-enabling the vector mask

Now that we've covered shape layers, let's take a look at other shapes you can draw in Photoshop using the Shapes tools.

Rounded Rectangle Tool

The Rounded Rectangle Tool is very similar to the Rectangle Tool except that it allows us to draw rounded rectangles. We adjust how rounded the corners are using the Radius option in the Options Bar. The larger the radius value we enter, the rounder the corners become. In my case, I'll enter a Radius value of 50 pixels:

Use the "Radius" option to define the degree of rounding of the corners

To draw a rounded rectangle, after you have entered a radius value, click in the document window to define the starting point of the shape, and then, while holding down the mouse button, drag the mouse cursor to finish drawing the shape. Just like with the Rectangle shape, as you move the cursor, the program will display a thin outline of the shape:

Drag the cursor to draw a rounded rectangle after you've entered a radius value in the options bar

When you release your mouse button, Photoshop will finish drawing the shape and fill it with color:

When you release the mouse button, the shape will fill with color.

Below is another rectangle with a radius of 150px. Given value so large (for this figure, anyway) that the left and right sides of the rectangle are curved:

The larger the radius value, the rounder the corners will be.

And here is a rectangle with a small radius value of 10 pixels, which only slightly rounds the corners of the shape:

A small radius value rounds corners less

Unfortunately, there is no preview of the degree of rounding of the corners. We can see how round the corners are only after we draw a rectangle. Also, we cannot change the radius value while drawing the shape, as is possible in Illustrator. Photoshop also does not allow us to go back and even slightly correct the rounding of the corners after we have drawn the shape.

All of the above means that drawing rounded rectangles is essentially trial and error. If you don't like the rounded corners of the shape after you've drawn it, press Ctrl+Z (Win) / Command+Z (Mac) to quickly undo it, then enter a new radius value in the Options Bar and start drawing the rectangle again.

Just like with the Rectangle tool, you can use the Rounded Rectangle tool to draw rounded squares. Just press and hold the Shift key after you've started drawing the shape, and your rounded rectangle will take on the shape of a rounded square. Press and hold the Alt (Win) / Option (Mac) key to draw the shape from the center.

If we click on the little arrow in the Options Bar to open a menu of advanced options for the Rounded Rectangle Tool, we can see that the Free, Square, and From Center options are the same as the Rectangle Tool options. And again, we already know how to select these options using keyboard shortcuts and individual keys:

The Rectangle and Rounded Rectangle tools have the same additional options

Ellipse Tool

The Ellipse Tool allows us to draw ellipses and circles. Just like with the Rectangle and Rounded Rectangle tools, click in the document window to define the starting point of the shape, and then, while holding down the mouse button, drag the mouse cursor to finish drawing the shape:

Draw an Ellipse with the Ellipse Tool

Release the mouse button to finish drawing the shape and fill it with color:

Ellisfilled upcolor

Press and hold the Shift key after you've started working with the Ellipse Tool to draw perfectly even circle. Pressing the Alt (Win) / Option (Mac) key will let you draw the shape from the center:

Start drawing and then add a Shift keystroke to create a perfectly even circle.

Clicking the little arrow in the Options Bar will open the Ellipse tool options, which are similar to the options for the Rectangle and Rounded Rectangle tools. The only difference is that with the Ellipse tool option, you can draw circles instead of squares:

The Ellipse Tool has almost the same options as the Rectangle and Rounded Rectangle tools.

Polygon Tool

The Polygon Tool is more interesting for us in terms of drawing shapes. Whereas with the Rectangle Tool we can only draw quadrangular rectangles, the Polygon Tool allows us to draw polygons with as many sides as we wish. Next, we will look at how even stars can be drawn using this tool.

Specify the number of sides you want for the polygon in the Sides option in the Options Bar. The default value for Sides is 5, but you can enter any number between 3 and 100:

Use the Sides option to tell Photoshop how many sides your polygonal shape will have

Once you've set the number of sides, place your cursor in the document window and start dragging to draw the polygonal shape. Photoshop always draws polygonal shapes from the center, so you don't have to hold down the Alt (Win) / Option (Mac) key. Pressing and holding the Shift key after you've started drawing the polygon will allow you to limit the number of corners for your shape and position it exactly as you want it on the screen:

The Polygon tool is indispensable when we need to draw a shape other than a quad

By setting the number of sides to 3, we can easily draw a triangle:

A simple triangle drawn with the Polygon tool

Here is a polygon with 12 sides:

PolygonWithtwelveparties

Draw stars with the Polygon tool

To draw a star with the Polygon Tool, click on the little arrow in the Options Bar to open the list of options for the Polygon Tool and select the Star option:

From the list of options for the "Polygon" tool, select "Star"

After selecting the "Star" option, click in the document window and drag the cursor to draw a star. The Sides option in the Options Bar determines the number of star vertices. So, if the default value of the parameter is five, we get a five-pointed star:

By default, star vertices have sharp corners, but we can round them off by choosing the Smooth Corners option:

Select the option "Smooth outer corners"

Below is a five-pointed star with the Smooth External Corners option selected:

The Smooth Outside Corners option softens the angularity of the stars

We can also round the corners at the bases of the star's rays by selecting the Smooth internal corners» (Smooth Indents):

Select the "Smooth Inner Corners" option.

And again, our star looks completely different:

Painted star with Smooth Inner Corners selected

Line tool

And finally, we'll take a look at the Line Tool, which is the last tool in the " Geometric figures". It allows us to draw straight lines and arrows. Set the desired line weight in pixels by typing a value in the Weight box in the Options Bar. In my case, I'll enter a value of 16 pixels:

Use the Thickness option to define the thickness of the line

Then click in the document window and drag your cursor to draw a line. After you have started drawing the line, press and hold the Shift key to constrain the direction in which the cursor moves. This will allow you to draw horizontal or vertical lines with ease:

Hold down a keyShift to draw horizontal or vertical lines

To set arrowheads at the ends of a line, click the little arrow icon in the Options Bar to select the Arrowheads options. Photoshop allows us to add arrows at the beginning of a line, at the end, or at both ends at the same time. If you want to have an arrow appear in the direction you draw the line, which is more logical, select the End option. Make sure you select this option before you start drawing the line, because the program won't let us go back and set the arrow after the line is drawn:

To add an arrow in the direction the line was drawn, select the End option

Below is a line similar to the previous line I drew, but with an arrow at the end:

Easy to draw arrows with the Line tool

If the default size of the arrow is not to your liking, you can change it using the Width and Length options. We can also add a curve to the arrow using the Concavity parameter. By default, the value of this parameter is 0%. I will increase it to 50%:

Increase the Curvature value to change the shape of the arrow

As a result, the shape of the arrow will change. Again, make sure you select the Curvature value before you start drawing the line, otherwise you'll have to delete the shape and draw it again:

Arrow with Curvature set to 50%

Hide the outline around the shape

If you take a close look at a shape you've drawn (regardless of which Shapes tool you've used), you'll most likely see a thin outline around it, which can sometimes be irritating. The outline around the shape appears whenever the shape's vector mask is selected, and it's always selected by default after we draw a new shape.

If you look at the shape layer in the layers panel, you'll see that the vector mask thumbnail has a white highlighted border around it, which tells us that the mask is actually selected. You can hide the outline around the shape by deselecting the vector mask. To do this, simply click on the vector mask thumbnail. The highlighted border around the thumbnail will disappear, and so will the outline around the shape in the document:

Click on the vector mask thumbnail to deselect it and hide the outline around the shape

And here we are! We've covered the basics of working with shape layers and the five tools in the Shapes group in Photoshop! In the next tutorial, we'll learn how to create more complex shapes using the Custom Shape Tool.

Translation: Ksenia Rudenko

In the vast majority of cases, you will draw vector shapes. Unlike pixel shapes, vector shapes are flexible, scalable and do not depend on image resolution, which means that we can set them to any size we want, edit and scale them as much as we need without losing quality, and even print them in any size also without loss of quality!

Regardless of whether they are shown on the screen or in print, the edges of vector shapes always remain crisp and sharp.

To make sure you're drawing vector shapes and not paths or pixels, select the Shape option from the Tool Mode Views in the Options Bar:

Selecting the Shape option in the Options Bar

Filling a shape with color

The next action that we usually perform after selecting the "Shape" option is to select the color that fills the shape, in Photoshop CS6 and higher, this is done by clicking on the "Fill" field (Fill) in the Options Bar:



Click the button in the options bar to open the Shape Fill Properties dialog box.

This action opens a window that allows us to select one of four various ways form completions, each represented by one of four icons along the top of the window. Assignment of icons, starting from the left edge:

  • no color(No Color) - white rectangle with a red diagonal line, no fill
  • pure color(Solid Color) - solid color fill
  • Gradient(Gradient) - gradient fill
  • Pattern(Pattern) - fill with a Photoshop pattern (pattern)



Various Methods shape fill

No color (No Color)

As the name suggests, selecting this option will leave the shape with no fill, with empty pixels inside. What is it for? Well, in some cases, only the contour itself may be needed. Also, often only a stroke with transparent pixels inside is needed.

Below is a simple example of what a form looks like without a color fill. All that we see is the main contour of the form, which is called "Contour" (Path). The outline only appears in the Photoshop document, so if you save your work as a JPEG or PNG, or print it, the outline won't be visible. To make it visible, we need to add a stroke to it, which we'll see how to add next:



Rectangle shape with no fill or stroke.

Solid Color

To fill your form with a solid color, select the "Solid Color" option, second icon from the left:



Option "Pure color" (Solid Color) to fill the shape with a solid solid color

With the option active, select a color for the shape by clicking on one of the color swatches. The colors you've recently used while working in Photoshop will appear above the main swatches:



Color selection by clicking on the sample.

If the color you need is not among the samples presented, click on the "Color Picker" icon located in the upper right corner of the window:



Click on the Color Picker icon to select your own color.

The Color Picker dialog box will open, select a color in it and click OK to close the Color Picker after selecting the desired color.

As you can see in the figure below, after these actions we have the same form, only now the form has a color:



A figure filled with color.

Gradient fill

To fill your shape with a gradient, select the "Gradient" option. Then click on one of the thumbnails to select a preset gradient, or use the gradient strip thumbnail below to create your own gradient variation.



Choose a pre-made one or create your own gradient to fill the shape.

Here's the same shape, only now it's filled with a gradient:



A shape filled with one of Photoshop's preset gradients.

Pattern fill (Patterns)

Finally, the pattern fill option allows us to fill the shape with one of Photoshop's preset patterns.
Click on one of the thumbnails to select a pattern. Not many pattern options are preinstalled in Photoshop, choosing, loading and installing a fill pattern is described in detail.

Below is the same shape, this time filled with a pattern:



The same shape, only this time filled with the standard Photoshop pattern.

If you're not sure yet what color, gradient, or pattern your shape needs, don't worry. As we'll see later, you can always come back to edit the shape later and change the fill.

Adding a Stroke to a Vector Shape

This option has been in Photoshop since version CS6. By default, Photoshop won't add a stroke to the edges of a shape, but adding one is as easy as adding a color fill.

To add a stroke, click on the appropriate option in the Options Bar:


Option to add a stroke.

This opens a window with options where we can choose the color of the stroke, as well as set many other options.

At the top of the window we have the same four icons for selecting the fill type of the stroke line, these are No Color, Solid Color, Gradient and Pattern. By default, "No Color" is selected. I'll choose the "Solid Color" type. Select and assign a stroke color in exactly the same way as the fill color, as described above.

Changing the Stroke Weight

To change the stroke weight, use the appropriate input box located immediately to the right of the color swatch rectangle in the options bar. By default, the weight is set to 3 pt (points). But you can set other units of measurement, if you click on this input field with the right mouse button, a drop-down list of units of measurement will open. I almost always choose pixels:


Change the width and units of the stroke.

Align Edges option

To the right of all others, in the options bar is the option "Align edges". When this feature is turned on (it's on by default), Photoshop will align the edges of the stroke with the pixel grid, making the image sharper.
The option will be active only if the stroke unit is pixel.

More Stroke Options

By default, Photoshop draws a solid line stroke, but we can change this by clicking the Stroke Options button in the Options Bar:


Button of the window for selecting additional properties - selection of a stroke stroke - solid, dashed, dotted, etc.

This opens the Stroke Options window. In this window, we can change the line type from solid to dashed or dotted. In addition, there are three additional stroke options:



Stroke Options Dialog Box

Option "Align"(Align) allows us to choose whether the stroke is located inside the path, outside or in the middle.
Next option "Ends"(Caps) only works if we have selected a dashed stroke. We can change the appearance of the ends of the segments.

  1. the stroke ends at the border of its specified length and the end has a rectangular shape
  2. the end has a semicircular shape and protrudes half the width beyond the border of a given stroke length on each side
  3. the end has a rectangular shape and protrudes half the width beyond the border of the specified stroke length on each side

"Angles"(Corners) allow you to change the appearance of the corner at the junction of stroke lines. The coals can be sharp (default), rounded, or beveled. This option works if the stroke is outside or in the middle of the path. If the stroke is inside the path, the corners always remain sharp.

Clicking on the button at the bottom of the window "Other options ..." (More Options...) opens another window where we can set the length of strokes and gaps between strokes. Here is an example of a rectangular shape with a fill and dashed stroke, with different stroke lengths:



A stroke within a shape that uses two types of strokes - a line and a dot.

Editor's Choice
Fish is a source of nutrients necessary for the life of the human body. It can be salted, smoked,...

Elements of Eastern symbolism, Mantras, mudras, what do mandalas do? How to work with a mandala? Skillful application of the sound codes of mantras can...

Modern tool Where to start Burning methods Instruction for beginners Decorative wood burning is an art, ...

The formula and algorithm for calculating the specific gravity in percent There is a set (whole), which includes several components (composite ...
Animal husbandry is a branch of agriculture that specializes in breeding domestic animals. The main purpose of the industry is...
Market share of a company How to calculate a company's market share in practice? This question is often asked by beginner marketers. However,...
The first mode (wave) The first wave (1785-1835) formed a technological mode based on new technologies in textile...
§one. General data Recall: sentences are divided into two-part, the grammatical basis of which consists of two main members - ...
The Great Soviet Encyclopedia gives the following definition of the concept of a dialect (from the Greek diblektos - conversation, dialect, dialect) - this is ...