Straight line in Photoshop cs6. How to draw a straight line in Photoshop: regular, broken or at an angle

Good day everyone, my dear friends and guests of my blog. Today I would like to tell you how to draw a straight line in Photoshop or its online version. Of course, the segment looks much neater than something drawn with a trembling hand. Oh, this trembling hand)). Well, okay, let's not pull the cat by the rubber band. Let's go!

First, let's look at the simplest methods drawing.

Draw lines horizontally and vertically

The easiest way to draw straight line- take any drawing tool (pencil or brush), hold down the key SHIFT and lead in the direction you need (up down or left and right). Rest assured while you hold shift, there will be no trembling hand, everything will be recorded.

Drawing lines at an angle

If you want to draw a line at an angle, select the brush (pencil) tool in the toolbar in the same way, and then put a dot in the place where you want the beginning to be.

Now, hold down the key SHIFT and click in the place where the end should be. After this, the line will be instantly drawn automatically from the start to the end point.

In addition, you can make a real broken line. To do this, you just need to poke in the places where it should break. Just remember to do this with the Shift key held down.

Drawing straight lines using guides

Just yesterday I published an article about that, and today this topic will also be very useful to us. To do this, pull out the guides from the ruler area with the mouse button held down and place them in the places where you need them, and then take the pencil again and draw along it. Thanks to its binding property, it will magnetize your drawing to itself.

Only, unlike the previous method, you will not be able to move far away, since the guide actually acts like a magnet. As long as you draw close, the drawing is attracted, and as soon as you move away, your trembling hand comes into play again.

Figures

And of course, we must not forget about the main tool, namely the figure of the same name. In order to draw a straight line in Photoshop this way, you need to go to the “Shapes” tool and select the “Line” tool there.

Before you start drawing, go to the tool settings above and see what you can customize here:


Now just left-click anywhere on the sheet, after which you will see the beginning. It will be as if nailed down, and at this time you will be able to decide where the end will be. You will end up with what we expected. It is noteworthy that with this tool you can draw lines at an angle, and not just vertically or horizontally.

Drawing lines with the Pen tool

Previously, we used as one of the selection tools. But of course, this is not all of his abilities, and now we will draw a straight line using him.


Now everything is displayed as it should, and you can make not only straight lines, but also broken ones. So this once again proves that Photoshop is simply a universal program, and the same tool can do various functions for different tasks.

Rectangular Marquee Tool

A rather unusual way to draw a straight line, but nevertheless, some Photoshop users really like to use it.


As a result, we got a black stripe that you can turn into a line. To do this, just go to the transformation mode ( CTRL+T) and simply increase or decrease the length and width by left-clicking on the edges.

Well, if you want it to be at an angle, then use the same transformation to turn it over. To do this, place the mouse cursor next to the corners of the selection until the cursor changes to a curved arrow.

How to draw a line in Photoshop online

I know that not everyone is ready to install a cumbersome program on their computer, so we will try to make do with a special service. In fact, it’s not difficult to draw a straight or broken line in Photoshop online, simply because this version is highly neutered, there are very few ways there.

The first method is that you will need to select the Brush or Pencil tool and poke anywhere on the canvas to create a starting point. Now hold down the key SHIFT and click the one where you would like to see the end point. After this you have a straight line. This method is similar to what we did in the program.

The second method is that we select the Draw tool, assign any color (or leave the default one), hold down the left mouse button and start drawing a black rectangle. You yourself can control how thick or long it will be.

But it is important to remember that Photoshop online does not have a Transform tool, so the segment you draw cannot be changed, enlarged, reduced or rotated at an angle.

Well, that's basically all I wanted to say. I hope you now understand how to draw a straight line in Photoshop in different ways and without any effort.

Well, if you don’t know Photoshop or don’t know it well, then I recommend that you watch these wonderful video tutorials, where they will tell you and show you from A to Z how to work in Photoshop. All lessons are told in simple human language and with great interest. If you don't mess around, you can learn Photoshop in just a couple of weeks. I highly recommend it.

Well, this is where I end my lesson, I hope that you liked my article today. Don't forget to subscribe to my blog and share the article materials on social networks. I'm waiting for you again. Good luck to you. Bye bye!

Best regards, Dmitry Kostin.

In this tutorial I will show you how to create beautiful abstract lines, which will be useful in the design of your work. This tutorial is perfect for beginners.

This is what the final result looks like:

Step 1. Create a new document sized 800x800 px, fill the background with black. Create a new layer above the background one, press the P key to activate Pen Tool(Feather). Create a line as in the screenshot below:

If you can't draw the curve, that's okay. To do this, hold down the ALT key and drag the end of the curve to edit its shape:

Press B to activate Brush Tool(Brush), select a 1 px brush:

In the window Color Picker(Color selection) select the required color:

Activate again Pen Tool(Pen) (P), then right-click on the created curve and select Stroke Path(Outline Stroke):

Choose Brush(Brush) from the drop-down menu, make sure that the option Simulate Pressure(Simulate pressure) is active, and click OK:

And we get this beautiful curve:

Step 2. Using the process described above, we create three more lines. Make sure that:
- each line is on a separate layer;
- for the first line, the brush size is 2 px, the second - 3 px, the third - 4 px;
- reduce the opacity of the layers to 80%, 60% and 40%.

We adjust the location of the lines and get the following result (4 lines on 4 layers):

Step 3. Create a group "Lines" Layer - New - Group(Layer - New - Group) and move all 4 layers with lines into it. Duplicate the group once and merge the copy of the group into one layer (CTRL+E). Reduce the opacity of the new layer to 70% and move the lines lower and to the left to create the effect of depth:

Continue duplicating the layer to create more lines:

Now we need to add some color to the lines. To do this, use an adjustment layer Layer - New Adjustment Layer - Hue/Saturation(Layer - New Adjustment Layer - Hue/Saturation) for layers with lines (don't forget to create a clipping mask for the adjustment layer CTRL+ALT+G).

Choose any color you like:

We continue to add more colors. You can use Free Transform(Free Transform) (CTRL+T) to adjust the angle of the lines:

We also adjust the size of the lines:

Step 4. Now let's add some gray lines. To do this we go Image - Adjustments - Desaturate(Image - Adjustments - Desaturate) or SHIFT+CTRL+U to desaturate one of the layers:

Mixing the gray lines together with the rest:

And we get the following result:

Step 5. Almost finished. Now we combine the layers with the lines that we created into one (CTRL + E), then duplicate them, rotate them, change their position:

Let's add abstract dots around the lines to diversify the work. To do this, set up a brush as shown below (press F5 to bring up the brush parameters window).

The Photoshop graphics editor is rightly considered a fairly complex program. He has a large number of tools, and therefore is able to perform many tasks. Well, in order to understand all its nuances, you need to make every effort, spend a lot of time and, of course, have a great desire, otherwise nothing will work out.

Of course, not all teams are within the capabilities of a beginner, for example, but this is only at first. But you have to start somewhere! I suggest starting with a simple, but at the same time very necessary lesson: how to draw a straight line in Photoshop. So, let's figure it out.

Brush and Pencil tools

There are several ways to draw a regular straight line in Photoshop, it all depends solely on the user’s preferences. By the way, there are also several ways. To begin with, I would like to introduce you to the tools that are not the most obvious for these purposes: “Brush” and “Pencil”.

Please note that if you hold down the key before drawing, the line will not turn out strictly straight, so do not forget to perform this simple action.

Line Tool

This method of creating a straight line is perhaps very obvious and lies on the surface, and, nevertheless, beginners may not know about it. The point is that this tool is part of a group of others called by the U button on the keyboard. You can also call it manually; to do this, on the vertical Panel, click on the “Rectangle” button with the right mouse button. A small menu with a list will appear possible tools, among which is the one we need - “Line”.

Click on it, and then adjust the header with customizable parameters, for example, you can adjust the line thickness. Now let's start drawing: to do this, simply pull the computer mouse to the side while holding its left button. If you press in parallel, you will get a vertical or horizontal line. Also, if you hold down the same key and drag the line along an inclined line, the line will accordingly be inclined at an angle of 45 degrees.

That's all science, as you can see, absolutely nothing complicated! Patience, a little practice, and you will succeed.

Hello, dear readers! In this lesson you will learn how to draw a line in Photoshop
Create a new document in Photoshop (Ctrl + N) with a white background.

The easiest tool for drawing straight lines is the Line Tool (U). In addition to the standard vector tool modes, there is a Width parameter on the top panel. He is responsible for the thickness of the line.
To create a line, drag the mouse to the side while holding the left button. If you hold down the Shift key, you can get a horizontal or vertical line. If you drag a line along an angle while holding Shift, it will be inclined at an angle of 45 degrees.
This is how straight vector lines are drawn.


You can also use the Brush Tool (B) to draw lines. Select it, right-click on the canvas and set the Size to 1 pixel so that the lines are thin. As in the first case, you need to hold down the Shift key to draw straight lines.
You can also draw lines from points. Make a single click on the canvas at the starting point. Hold down the Shift key and click on the next point (where the end of the line should be), then on another one if you want to create a polyline.


But what if you need to draw wavy line? To do this, you can use a combination of the Pen Tool (P) and the Brush Tool (B). Photoshop has a stroke feature.
Select the Pen Tool (P) and in the settings select the Paths mode:

With this tool, lines are drawn using single clicks. Draw a simple line in two clicks.


Hover your cursor over the line and a “+” sign will appear next to it.


Pull the line down and it will curve. Another anchor point will appear on the line. Using the Direct Selection Tool (A), you can change the curvature of the lines using the levers. To quickly switch to this tool, press the Ctrl key while the Pen Tool (P) is active.


Now you need to select a brush that will be used to outline the outline. Select the Brush Tool (B), set the size to 2 pixels and lower the Hardness to 0%.


Select the Pen Tool (P) again, right-click on the canvas and select Stroke Path.


In the window that appears, select Brush. If you turn on the Simulate Pressure function, the edges of the line will taper.


Press Enter to remove the outline.


The stroke could have been made more in a fast way. After setting up the brush, do not switch to the Pen Tool (P), but press Enter to stroke. Pressing this key multiple times will repeat the stroke. To remove the outline, press Delete.

This concludes the lesson. Now you know how to draw a line in Photoshop.

Lines, as well as others geometric elements, are an integral part of the work of a Photoshop master. Lines are used to create grids, contours, and segments. various shapes, skeletons of complex objects are built.

Today's article will be entirely devoted to how you can create lines in Photoshop.

As we know from the school geometry course, lines can be straight, broken and curved.

Straight

To create a straight line in Photoshop, there are several options using various tools. All the main construction methods are given in one of the existing lessons.

Therefore, we will not linger in this section, but will immediately move on to the next one.

Broken

A polyline consists of several straight segments, and can be closed, forming a polygon. Based on this, there are a couple of ways to build it.

  1. Unclosed polyline

  • Closed polyline
  • As we said earlier, such a line is a polygon. There are two ways to construct polygons - using the appropriate tool from the group "Figure", or by creating a selection free form followed by a stroke.

    • Figure.

      When applying this method, we will obtain a geometric figure with equal angles and the parties.

      To obtain a line (contour) directly, you need to adjust the stroke, called "Stroke". In our case, it will be a solid stroke of a given size and color.

      After disabling the fill

      we will get the required result.

      Such a figure can be deformed and rotated using the same "Free Transformation".

    • Straight-line lasso.

      Using this tool you can build polygons of any configuration. After placing several points, a selected area is created.

      This selection needs to be circled, for which there is a corresponding function that is called by pressing RMB on the canvas.

      In the settings you can choose the color, size and position of the stroke.

    Curve

    Curves have the same parameters as broken lines, that is, they can be closed or open. You can draw a curved line in several ways: with tools "Feather" And "Lasso" using shapes or selections.

    1. Unclosed
    2. Such a line can only be drawn "Per"(with a contour outline), or “by hand”. In the first case, the lesson, the link to which is above, will help us, and in the second, only a steady hand.

    3. Closed
    • Lasso.

      This tool allows you to draw closed curves of any shape (segments). Lasso creates a selection, which, to obtain a line, must be outlined in a known way.

    • Oval area.

      IN in this case the result of our actions will be a circle of regular or elliptical shape.

      To deform it, it is enough to call "Free Transform" (CTRL+T) and, after pressing RMB, select the appropriate additional function.

      On the grid that appears, we will see markers, by pulling which you can achieve the desired result.

      It is worth noting that in this case the effect also extends to the line thickness.

    • Figure.

      Let's use the tool "Ellipse" and, using the settings described above (as for a polygon), create a circle.

      After deformation we get the following result:

      As you can see, the line thickness remained unchanged.

    This concludes the lesson on creating lines in Photoshop. We learned how to create straight, broken and curved lines in different ways using various program tools.

    These skills should not be neglected, since they are the ones that help build geometric shapes, contours, various meshes and frames in Photoshop.