Mobile app version of vmapp.org
Login or Join
Eichhorn212

: How do I specify the dimensions of a vector line in Photoshop CS6? I am new to shape layers in CS6, and am running up against this issue: How do I create a stroked line path (with no fill)

@Eichhorn212

Posted in: #AdobePhotoshop #Vector

I am new to shape layers in CS6, and am running up against this issue:

How do I create a stroked line path (with no fill) with precise dimensions?

All I'd like to do is create several horizontal rules exactly 306 pixels wide.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Eichhorn212

2 Comments

Sorted by latest first Latest Oldest Best

 

@Ravi4787994

I'd recommend using the rectangle tool. If you select the rectangle tool and click on the canvas, you can enter the exact dimensions you're after. In your case, that's 306×1.



Then, use the move tool (V) to drag the layer into place. Pressing command-J will duplicate the layer, and then the new layer can be moved again (you can also use Layer → New → New Layer via Copy. Once you've added all the lines, select all the layers and press command-E to merge all the shapes onto one layer (if that's what you want).

Recap:


Select the rectangle tool
Click on the canvas and enter the dimensions
Use the move tool to position
Duplicate with command-J
Move into position with the move tool
Repeat the last two steps for as many lines as you need
Select all the layers in the layers panel
Press command-E to merge


From there you'll have a single layer with all the lines that you can style using stroke, fill and layer effects.

Why use a rectangle instead of a line?

Photoshop (CS5 and CS6) draws a rectangle when you use the line tool, so they're essentially the same thing. There is one difference though — the rectangle tool in Photoshop CS6 can be created to a specific size by clicking on the canvas, where the line tool can't.

10% popularity Vote Up Vote Down


 

@Nimeshi706

One of the great factors of Photoshop CS6 is true vector elements. This means they can be altered after they are drawn to a greater degree than was ever possible in previous versions.


Grab the Line Tool.
Set the value for the weight you want your stroke in the Control bar.
Draw a line.
Change the "W" field in the Control bar to read "306px" and hit the Enter key.
Done.


Note: You can return to the shape layer at any point later and change the "w" field again if you want to adjust the length or height of the line again. This is a HUGE step forward for Photoshop.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme