How to make a straight line in Photoshop cs6. How to draw a straight line in Photoshop

Using a tool Pen Tool

Using a tool Pen Tool(Pen) so that the desired effect can be achieved in a short period of time.


more difficult

Recorded a small demo video

Interestingly, video coming one and a half minutes and weighs 2 kb BB FlashBack Pro

Feather

  1. Without releasing the mouse button when creating a new point, you can smooth the line.
  2. It is better to place dots in places where the line should have a bend.
  3. Holding down the key Ctrl You can move line control points using the keyboard.
  4. Holding down the key Alt you can adjust the degree of rounding of the line near the point and its distortion

    I was inspired to test Photoshop to see how it was useful for drawing lines. Draw lines in Photoshop more difficult than in its vector counterparts and some raster editors - this is the impression I got after familiarizing myself with the tools in Paint Tool Sai, Illustrator, Inkscape and others, which have more convenient and flexible tools for creating beautiful linear shapes.

    https://site/wp-content/uploads/2011/08/lines.swf,600,490

    Recorded a small demo video about how to draw lines in Photoshop and achieve their correct shape as a result.

    Interestingly, video coming one and a half minutes and weighs 2 kb– this is very amazing Video recorded on BB FlashBack Pro

    However, it's not all bad. Having studied the specifics of working with the tool Feather, some tricks have been discovered that make drawing lines easier and make design work more free.

    Techniques for working with a pen when creating lines

    Many people know the first two rules, but 3 and 4 were a discovery for me.

    Having created the form, you can adjust the shape and position of the bends of the line and achieve the desired shape.

    You can change both the point itself and the position of the guide “whiskers”, which define the shape of the angle near the point.

    Working with a finished line

    All the lines you create are in the window Path(Paths). It is advisable to create a separate “line layer” for each line in the Path panel.

    Crtl + H - Hide/Show lines.

    Stroke Path… - line stroke function. You can select the tool that will be used to outline. Usually this is a brush, and before using this function, it is advisable to set the brush to the desired thickness, and only then resort to stroke.

Lines, as well as other 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 using this method we get a geometric figure with equal angles and sides.

      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 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 figures, contours, various meshes and frames in Photoshop.


    Parallel lines and a grid are elements that bring order and rigid structure to a design solution. Lines set the direction for the eye as it fleetingly glides across the picture, emphasizing the surfaces, giving volume to the image. Light shading instead of filling creates the effect of weightlessness and airiness of the object.


    Parallel lines, a grid of rectangular cells, a lattice are easier to create in programs vector graphics, such as Adobe Illustrator, for example. You can download a suitable texture or ready-made clipart.

    But there is not always time to look for the right textures. Drawing a straight line is easy - draw with any drawing tool while holding down the Shift key. It's difficult to draw multiple lines equally spaced to create a grid, for example. But to solve the problem of creating parallel lines It's not at all difficult in Photoshop.

    1 way.

    The fastest way to create parallel lines is to use styles.

    Draw a straight line with the Pensil tool (to make the line straight, hold down the Shft key).

    Photoshop's built-in styles include Dotted Strokes styles. Select these styles using the Styles palette menu: Window > Styles.

    From the style sets, choose the White 1pt 2pt-Spaced Dotted No Fill style or another one if you prefer.

    Let's get a line of points.

    This line needs to be stretched in width and obtained from the points of the strip. But if you do this right now, you will get a rectangle with a dotted outline. Here's a simple trick: create a new empty layer above the dotted line layer and merge the two layers (select these layers in the Layers panel and do the Merge command).

    After that, simply stretch the line wider with the command Edit (Editing)>Transform (Transform).

    If you create a new layer above the layer with lines, fill this layer with a gradient fill and apply the menu command from the layers panel Create Clipping Mask to it, you will get this rainbow stripe.

    And using the Edit > Transform > Warp command allows you to get interesting effects.

    Method 2.

    Parallel lines can be created using gradients. The disadvantage of this method is significant - you must first create a gradient using the gradient editor. If you don’t know anything about working with the gradient editor, go here:

    The advantage of this method is that, firstly, you can create a striped gradient, save it and use it always, secondly, you can create multi-colored gradients, gradients with blurry or clear transitions from the line color to the background, you can create double, triple lines with at different intervals between them. Or download ready-made ones or

    Creating a gradient to draw parallel lines is easy. Open the gradient editor and add color markers in the desired positions (just click the mouse in the right places, set the color and distance in the appropriate fields.). The Location field specifies the marker indentation in % from the left edge; the distance between markers is the distance between lines.

    Small markers next to the color marker determine how blurry the line is. Try moving them closer to the line and see the result.


    Handles above the gradient bar control the transparency of the gradient areas. White markers indicate transparent areas (Opacity is 0). This gradient is convenient for drawing on a ready-made background:

    An example of using this gradient:

    And don’t forget that there are different gradients - diamond-shaped, radial, mirror, which allows you to create different shapes with one easy movement:

    3 way.

    To begin, draw one line on a new layer.

    Go to the Actions palette, create new operation(Line, for example), click the record button and do simple steps: Duplicate the line layer and move it up or down to the desired distance. The job is done, click the Stop recording button. It should look something like this:

    After that, press the triangular Play recording button as many times as you need lines.

    As a result, the image has many layers with lines. If you are happy with the result, combine the layers with lines into one layer.

    Duplicating the lines layer and then rotating the duplicate at right angles or any other angle makes it easy to create a mesh.

    And applying styles - effects:

    The Photoshop graphics editor is rightly considered a fairly complex program. He has big amount tools, and therefore capable of performing 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, this is also possible in 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.

    Click on it, 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 a 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.

    Of course, one of the simplest and most frequently used elements in drawing is the line. Program Adobe Photoshop is no exception. Especially if you plan to seriously study the field of website design.

    One of the advantages of the Photoshop program is the interchangeability of actions. You can achieve the same result with many different different ways. Now we will study several options for command sequences with which we can make a line in Photoshop.

    Let's start by creating a new document. A document size of 1000 by 1000 pixels is quite suitable for us. Detailed description Creating a new document in Photoshop can be found here.

    Let's start with the line tool. We will find it on the tank panel.

    Now let's set the characteristics of our future line.

    Let's set the line thickness. I decided that a thickness of 4 pixels would suit me. If you wish, you can choose its style. I'll make do with the simplest ones.


    Let's decide on the color. You will also find the primary color selection icon on the sidebar. Click to open a window for selecting a color.


    Well, that's it now! Let's draw. Click on the work area and draw a line with the mouse.


    Now our line is a smart object. You can turn it into a regular layer in the layers window using the “rasterize layer” command.


    The line is ready. As you can see, drawing a straight line in Photoshop is very simple. We have discussed an elementary method, which, despite its convenience, has a number of limitations. Let's take the second one apart and draw a line using the pen tool.

    It should be noted that in this case it is worth changing the settings of the brush or pencil to suitable ones in advance, because your line will repeat these outlines. Therefore, let's set up the pencil tool together. Select it in the sidebar. And click on the work area.


    Set the following pencil settings. How to choose a color is mentioned above.


    In the sidebar, look for the pen tool.


    We make two clicks on the work area. It should be noted that if you want to make the line smooth and strictly horizontal or vertical, hold down the shift key while clicking.


    Click on the line with the left key. In the drop-down list, select the “outline outline” command.


    We trace the outline and click again with the left mouse button. Select the “delete contour” command.



    So, the line is ready! In just five minutes we learned two ways to draw straight line in Photoshop.

    Did you like the article? Share with your friends!