Returns an
AffineTransform
object representing the inverse transformation. The inverse transform Tx' of this transform Tx maps coordinates transformed by Tx back to their original coordinates. In other words, Tx'(Tx(p)) = p = Tx(Tx'(p)).
If this transform maps all coordinates onto a point or a line then it will not have an inverse, since coordinates that do not lie on the destination point or line will not have an inverse mapping. The getDeterminant
method can be used to determine if this transform has no inverse, in which case an exception will be thrown if the createInverse
method is called.
@return a new AffineTransform
object representing theinverse transformation.
@see #getDeterminant
@exception NoninvertibleTransformException if the matrix cannot be inverted.
@since 1.2