Copy link to clipboard
Copied
How do I draw a simple rectangle with a colored stroke and a transparent fill? I could use Mike Hale's DrawShape() function, but isn't there something simpler? In PhotoShop CC 2021, I draw a rectangle and it gives me the rectangle on a separate layer. That would be great for my purpose. The PhotoShop CC JavaScript Referencce document doesn't seem to have anything for creating rectangles, but it's very likely I'm looking in the wrong place.
Copy link to clipboard
Copied
Set a rectangle selection. add an artlayet and stroke the selection. It would not be a shape layer like Mike's DrawShape function creates.
Copy link to clipboard
Copied