Dashed & Dotted Lines Drive Me Crazy

Adobe Community Professional ,
May 03, 2022 May 03, 2022

Copy link to clipboard

Copied

Does anyone reading this have complete mastery of dashed and dotted lines using the Line shape tool? Is there a secret relationship between the values for stroke, width and weight that will always produce perfect results with none of those annoying offsets?  Should the stroke always be set to Inside or will Centre do in some circumstances?  Do the Dash and Gap values have to relate to stroke, width and weight values?

 

It's something I still find frustrating, and if anyone says use Illustrator I am coming of your screen to get you.  OK, we can stroke a path with a spaced out brush, but the vector tools exist in Photoshop and I'd like to be comfortable with them.  I'd even be happy with a really good video, but The PTC does not have anything on the subject I can find.  Colin Smith has a video that is half way there, but I am too distracted by his fly-away-hair to concentrate.

 

So who has the secrets?  

TOPICS
macOS , Windows

Views

173

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , May 04, 2022 May 04, 2022
Sorry, I misunderstood.  I would recommend abandoning the Line Tool (as it just provides a different method of creating rectangular paths anyway) and using the Pen Tool to create strokes lines. 

Likes

Translate

Translate
Adobe Community Professional ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

As far as I can tell, »center« works fine. 

 

The screenshot was taken at View > 200% and my interpretation would be: Dash and Gap refer directly to the Stroke width. So a 10px Stroke means a Dash with »1« is 10px by 10px.  

Screenshot 2022-05-04 at 10.31.28.png

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Thanks Christoph.  I'm OK with rectangles and shapes that have volume.  It's specifically the line tool that I can't reliably get to do what I want.  When I created this line the initial stroke value was seven-point-something and I got a solid line. Ctrl draging the stroke value using trial and error did at least give me a dashed line, but it was very sensitive.

image.png

Changing the weight to 3pt and dash/gap values as shown also worked, but here again, it was tricky homing in on the 15.52 stroke value that made the dashed line suddenly appear.  Still not getting the annoying offset that was driving me crazy earlier, but I don't have the first idea on why?  It seems to me that there should be a predictable relationship between line weight and stroke value that will work, and not have the need to use trial and error.

image.png

OK, setting Align to Centre stuffs it up, which is logical.  This is the offset I was getting earlier, but I thought I had Align set to Inside.  It looks like I was wrong. Hmmmm???

image.png

Here you go. It's broken again.  Align is set to Inside. The only other thing I changed was Caps to Round.

I now can't get it any better than this.  The oblique effect is because the upper and lower strokes are not lining up.

image.png

This is what I mean

image.png

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

Sorry, I misunderstood. 

I would recommend abandoning the Line Tool (as it just provides a different method of creating rectangular paths anyway) and using the Pen Tool to create strokes lines. 

Screenshot 2022-05-04 at 12.03.07.png

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

I'd actually homed in on this since my last post by experimenting.  It always seems to just work, plus you can adjust everything after laying down the work path, which does not work using the Line tool.  This will be my go to method going forward.  It's just a pity it has taken me 26 years to work it out.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 04, 2022 May 04, 2022

Copy link to clipboard

Copied

26 years ago Photoshop didn’t have Shape Layers or Shape Layer Strokes. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 07, 2022 May 07, 2022

Copy link to clipboard

Copied

LATEST

I started with version 4, which was the first time there was a Windows version (although Wikipedia says that was version 2.5).  I can barely remember what there was and wasn't, but I remember a demonstration on the TV from about that time, where an artist worked with a Photoshop expert.  The Photoshop expert was making a selection using what had to be what we call Quick Select, and taking ages to complete it. 

 

I came to Photoshop from Deluxe Paint on an Amiga 1000, and while Deluxe Paint was not big on resolution, by heck, it had some outstanding features for its time.

 

Going back to the topic of this thread, since last posting I have homed in on using the Pen tool set to Shape.  It gets around all of the issues I was having trying to use the Line tool. You can edit all aspects of the line, dashes, dots, rounded or squared ends etc. after making the line, so I have learnt something from starting this thread and will and will be a lot happier the next time I need to lay down dashed or dotted lines

image.png  

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines