What is the easiest way to draw a rectangle in a script?
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.
