Wraps the specified transform. The transform is cloned and a
reference to the clone is kept. The original transform is unchanged.
If null is passed as the argument, this constructor behaves as though
it were the identity transform. (Note that it is preferable to use
TransformAttribute.IDENTITY
in this case.)
Parameters:
-
transform - the specified {@link AffineTransform} to be wrapped,
or null.