Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

how to get the "pathPoints" coordinates of a textFrameItem?

$
0
0

Hi all,

 

Yes I know that textFrameItems don't have pathPoints but..

 

How can I get the x, y coordinates of the corner points of a rotated textFrameItem.

I know that I can get the angle of rotation by asin(myTextFrameItem.matrix.mValueA) etc.

My guess would be that one should be able to use the mValueTX and mValueTY to help but those values are very confusing and change dramatically on applying even a small rotation.

If anyone has some ideas preferably mathematically based and not API base please let me know.

 

It is very late by me now and I suspect I must be missing the obvious, I would think such a function must of been made.

 

Thanks

 

Trevor

 

P.s. A solution to the same problem in InDesign would also be appreciated

_2015-06-23_02-05-49.png


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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