java.awt.font
public final class TransformAttribute extends Object implements Serializable
Constructor Summary | |
---|---|
TransformAttribute(AffineTransform transform)
Creates a new attribute that contains a copy of the given transform.
|
Method Summary | |
---|---|
AffineTransform | getTransform()
Returns a copy of the transform contained by this attribute.
|
boolean | isIdentity()
Returns true if the transform contained by this attribute is
an identity transform, and false otherwise.
|
Parameters: transform the transform (null
not permitted).
Throws: IllegalArgumentException if transform
is
null
.
Returns: A copy of the transform.
true
if the transform contained by this attribute is
an identity transform, and false
otherwise.
Returns: true
if the transform contained by this attribute is
an identity transform, and false
otherwise.
Since: 1.4