|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.font.TransformAttribute
The TransformAttribute
class provides an immutable
wrapper for a transform so that it is safe to use as an attribute.
Constructor Summary | |
TransformAttribute(AffineTransform transform)
Wraps the specified transform. |
Method Summary | |
AffineTransform |
getTransform()
Returns a copy of the wrapped transform. |
boolean |
isIdentity()
Returns true if the wrapped transform is
an identity transform. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TransformAttribute(AffineTransform transform)
transform
- the specified AffineTransform
to be wrappedMethod Detail |
public AffineTransform getTransform()
AffineTransform
that is a copy of the wrapped
transform of this TransformAttribute
.public boolean isIdentity()
true
if the wrapped transform is
an identity transform.
true
if the wrapped transform is
an identity transform; false
otherwise.
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.