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

How to get stroke color and size of rectangle?

$
0
0

Hi All,

 

I am developing an extension for CS5 and above (including CC version). I want to get the stroke color and size of a rectangle. I was able to do so in CS5. But, I noticed that in the CC version, there are two ways in which the user can apply a stroke. One is by applying effect in Layer Style, and the other is through the Properties panel. I am able to get the stroke values in my script if it is applied through Layer Style but I fail to do so in the other scenario.

 

How are these two strokes different and how can I get the stroke color and size if it is applied through Properties panel using script?

 

Thanks!


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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