Ted,

One way is to compose the transformation matrix
yourself and pass this matrix to affinetransform.
For subsequent transformation, you simply perform
matrix multiplication.
You can always decompose your matrix to get the
rotation, scaling, and translation. I don't think
the api gives you what you are intending to get.

Mike

> Given an instance of an AffineTransform, how can I
> find out the radian value of its rotation?
>
> For example, there are methods like
>
> getScaleX( )
> getTranslateX( )
> getShearX( )
>
> but I don't see anyway to get the rotation.
>
> Is there a way to get it?
>
> Thanks,
>
> Ted Hill
>
>


=====
Yang-Ming

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to