Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: How to get stroke color and size of rectangle?

$
0
0

I want to get the stroke color and size of a rectangle.

The size should be easy as you can just evaluate the Vector Mask’s pathItem’s subPathItem’s pathPoints.

Can the rectangle be rotated (other than multiples of 90˚)?

 

The Shape Layer Stroke on the other hand … changing it creates Action Manager code, so I would expect that one should be able to evaluate the current settings, but so far I’ve drawn a blank.

Action Manager code is not comfortable for me, hopefully someone else can shed light on the issue.


Viewing all articles
Browse latest Browse all 27456


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>