Broken line in Photoshop. How to draw a straight line in Photoshop. Creating a Dashed Curve Line in Photoshop

Lifehack on how to create a dotted line in Photoshop- Every second PC user is familiar with Photoshop. For many users, this is exclusively a program for editing photo cards, but with the help photoshop it is possible to depict drawing elements.

If there is a need to create a dotted line, then you should use a good and faithful retoucher assistant - a brush. The first action is to create one element - a dotted line. Should be opened new document arbitrary size and fill it with white color. This is a necessary step to achieve the desired result. Then select the tool " Rectangle"and set the parameters according to the recommendations in the images below:


The dotted line size can be adjusted as you need. Next, by clicking on the white sheet, a dialog box opens where the action is confirmed. The constructed rectangle figure appears on the screen. Don't panic if its size is too small in relation to the sheet. It's not critical. Then in the menu " Editing» - « Define brush"You need to enter a name and confirm the action by clicking OK.

Thus, the tool was built Dotted line"and you can try to create a dotted line
line.

1) Select " Brush" and among the palette we find the created tool.
2) Press the key F5 and determine the intervals between the dotted lines. (use a special slider to adjust the distance).
3) A good helper a guide line (horizontal, vertical) will appear.

Then you should place the brush at the beginning of the guide, and using the button Shift, without releasing the mouse, continue the dotted line. You can hide or show orthogonality by pressing the combination CTRL+H. If you do not doubt your skills, then you can draw a guide without using SHIFT. To construct vertical axes, you should perform a number of actions: press the key F5 and see the image as in the picture.

Making a frame from dots, dashes, dotted lines in Photoshop

In this material, as the title suggests, we will look at ways to draw dotted, dashed and dotted frames. Let's decide right away: we will draw all the frames on a new layer! Looking ahead, I will say that the method described below applies to versions of Photoshop CS5 and lower.

Creating frames from dots

Such frames are created using an ordinary round brush from the standard Photoshop set. Frames can be round or oval. rectangular, as well as any irregular shape, because they are described along a contour. Let's set up the brush first. If anyone doesn’t remember, to open the brush settings panel, you need to select the Brush tool, and then click on the corresponding button in the settings panel. In the image above, the following settings were applied for the inner round and inner square (click on the image to enlarge):

Now let’s create a contour, the shape of which should be the frame; this can be done using any contour tools, Pen Tool, Rectangle Tool, etc. The circuit can be either closed or open. Next, right-click on the outline. Important: the contour tool must be active at this moment! In the window that appears, select the line “Stroke path”. A new window will open where we will be asked to select a stroke tool. In this case, a brush or pencil (Pencil) will suit us. Let me remind you that your brush or pencil should already be set up. After selecting the tool, click OK, and points will appear on the contour. Dots made with a brush turn out to be somewhat blurry, so after applying the dots, it won’t hurt to apply the Sharpen Edges filter and select the settings individually. Here is an example of a screenshot obtained using the above operations:

The following brush settings were applied: Text: type - pencil size (Size) 3 px, hardness (Hardness) 100%, spacing (Spacing) 180% Underline: type - brush, point size (Size) 3 px, hardness (Hardness) 100% , Spacing 205% Frame: type - pencil, size 6 px, Hardness 100%, Spacing 180%

Creating frames from dotted lines

Rectangular frames, i.e. consisting of vertical and horizontal lines do not cause any problems. You can paint them using a rectangular brush from the default Photoshop set. Open the Brushes control panel and load them as shown in the picture. Next, set the brush settings approximately the same as we set above the round brush. Then we extend the shape of the print a little, this is shown in the screenshot:

With this brush you can horizontal line. But it won’t work vertically, or rather, it will work, but it won’t be pretty:


To create a vertical broken line, you need to rotate the brush mark by 90 or 270 degrees:

Now you can safely draw a vertical dashed line:


But if I need a dotted line in a circle or along any curve, then this method is no longer suitable. Select a round brush, set the print diameter to 9 pixels, and the spacing to 170%. We create an outline and trace the outline, as in the case of dots. Next, right-click on the outline and select “Make Selection” with a feathering radius of 0. Here is the screenshot:

Adobe Photoshop has a wide range of capabilities, thanks to which you can solve some applied problems, as well as fully work in one environment without switching to another. The program is intended mainly for raster graphics, but working with vector is also possible. Just one of the interesting questions is the construction of a dotted line in Photoshop SS. The task is not at all difficult, just follow the steps described below. In practice, it is often possible to use more than one construction method, but several.

Construction methods

Not every method will be individually suitable for a specific situation. But, on the other hand, there is a universal approach that can create a dotted line of any geometric complexity. For all methods, you need to go through an intermediate stage - setting up the brush. In these settings there are some parameters that can change the spacing and change the thickness of the dotted line.

Setting up brushes

Every user of this graphical environment has used the Brush tool at least once. But not everyone configured it for various situations in which different settings were needed.

So, before creating a dotted line, you need to select the "Brush" tool and call up the settings context menu. Here you should set the desired rigidity and thickness of the lines. After the procedure, go to the brushes panel, where the interval option is located. The interval slider can be moved to the desired value, optimal solution is considered 150%.

Pen tool

After all the transformations with the brush, you can proceed directly to drawing the dotted line. We will create our object using the Pen tool, which is located on the main panel quick access. The user can obtain the dotted line using the converted outline.

  1. Activate "Feather" and put the first one - the beginning of the line.
  2. We put the second point in the desired place where the geometric object will end.
  3. The next step is to create a new layer, which can be added using hotkeys or in the layers control panel.
  4. Now you should right-click on the resulting contour and in the window that appears, select the “Stroke the contour” item.
  5. Another window will pop up showing the stroke method. The default value is “Brush” - confirm.

Any version of the program, for example Photoshop CS6, supports the dotted line. After all the steps completed above, we get a straight line, but, in addition to it, you can create a curve with a dotted line.

The operation for drawing a curve is no different from drawing a straight line. The only step that will change is creating and extruding the anchor points. Below are some additions:

  1. Create an anchor point using the same Pen tool.
  2. Find the right place on the canvas and press it left button mouse - we try to convert the radius of curvature to the desired value.
  3. You can continue creating the curve with new arcs, which are done in exactly the same way as in step 2.

Subsequent stages remain unchanged - the overall picture of the operations does not change, and everything is done exactly as in the case of a straight dotted line in Photoshop.

Other tools

Using graphic objects, it is possible to create a geometric edging of shapes in the form of dotted lines. All these graphical tools are located in one cell on the main panel. With their help you can create the most primitive shapes: line, polygon, ellipse; and arbitrary ones that were automatically loaded into the editor: arrow, star, dialog cloud and others. Whichever tool you choose, each has its own settings and parameters, which are displayed at the top of the program in its header. Stroke for a shape of any shape is done in almost the same way as with the Pen tool:

  1. We select the necessary tool and recreate the object. Important Note- created shapes automatically have their own layer, which can later be rasterized.
  2. We manage the settings and set the optimal ones that the user will need.

Right-click on the object and select "Stroke Outline". The usual dialog box will pop up where you need to select the “Brush” option.

Now a figure will appear on the screen, edged with a dotted line along the contour. You can continue to edit the new object at your discretion.

Website design consists of many elements. And it's in the little things. Therefore, you have to constantly replenish your knowledge. Sometimes, to achieve two different goals, you have to use the same set of operations. But it won't always be like this. Even if you are an advanced designer, sometimes you have to rack your brain or use some educational literature. Now we will study something that will be useful not only for beginners, but also for those who have been working in the field of web design for a long time.

How to draw a dotted line in Photoshop... There may be several answers to this question. It all depends on what its purpose is. Let's say you want to play up a link by underlining the text. The easiest way is the text tool. Yes, it's somewhat banal, but nevertheless it works. We simply “write” the symbol “_”, so to speak. You can put one space. Or several. At your discretion.

The line can be rasterized. In the layers window, find the layer with the line, right-click on it and select the “rasterize text” command.


And now the second way. Let's try to create a dotted line in Photoshop using a brush. To do this, create a new document tiny size. Let it be, for example, 7 by 3 pixels. And fill it with color. And let's proceed directly to creating the brush. In the editing tab we will find the “define brush” operation.


Let's give the brush a name.


Now select the “brush” on the side toolbar and go to its settings.


From the list of brushes, select the one we created and set the “intervals” setting to 300%.

All! Let's see what happened.


Let's explore the third method. Here we will have to use the brush again. Select a 4 px hard round brush. And again we set the intervals setting to 300%.


Now let's turn to the pen tool. You will find it in the sidebar. We need to draw a line between two points.



Create a new layer. Return to the pen tool and right-click on it. We are interested in the “stroke the outline” command. This is what we got.



Now select the pen tool again and delete the outline by right-clicking and selecting the appropriate command.

As you can see, making a dotted line in Photoshop was quite easy.