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
An easy way to determine the rotation effects (or other effects) of
a given affine transformation is to apply it to unit vectors and
see what happens to them. Note that using only one unit vector and
attempting to draw too many conclusions about the result can lead to
mistaken conclusions, but
Hello,
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