Photoshop CS6: 1px shape lines dont behave correctly with strokes

  • 1
  • Problem
  • Updated 6 years ago
  • Not a Problem
  • (Edited)
Strokes on 1px lines don't behave properly. When a stroke is applied to a 1px line it appears to stroke both the bottom and top of the line as if it were a shape. I also don't understand how a line shape can have a height, stroke and weight independently as its possible to free transform a line making it taller than its weight?

One example is you can make a stroke with a 4 line and a 4 gap and on a 1px line that will display as a solid line. That seems wrong on so many levels.
Photo of Tinycg

Tinycg

  • 3 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 812 Reply Likes
Which product are you using?
Which version?
Which stroke feature on what kind of content?
Photo of Tinycg

Tinycg

  • 3 Posts
  • 0 Reply Likes
Apologies Chris.
Photoshop CS6 with stroke options -> more options -> dashed line -> dash 4, gap 4 with a 1px high line and 1px stroke will make a solid line not a dashed line.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 812 Reply Likes
OK, a line created with the line tool is a shape -- it is a rectangle stretched between the points you specify, not an infinitely thin line. Otherwise there would be nothing to fill, and no outline to stroke.

If it is 1 pixel wide, and you specify a centered or inner stroke - then those strokes could easily overlap the content of the line (and themselves in some cases).

If you want a stroke with no fill (to show a dashed line), use an open path: just click 2 points with the pen tool.
Photo of Tinycg

Tinycg

  • 3 Posts
  • 0 Reply Likes
I get that there is a workaround, since the dawn of time a line in photoshop has been just that, a line. Now its a rectangle. That seems pretty dumb. A shape line should still be a 2 point pen tool line, a line shouldn't have a fill, its a line.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 730 Reply Likes
No, it has always been a rectangle. And it is very intentional, so you can draw a line (with or without arrowheads) with a fill and stroke.