java.awt.font
Class TransformAttribute
java.lang.Object
|
+--java.awt.font.TransformAttribute
- All Implemented Interfaces:
- Serializable
- public final class TransformAttribute
- extends Object
- implements Serializable
The TransformAttribute
class provides an immutable
wrapper for a transform so that it is safe to use as an attribute.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformAttribute
public TransformAttribute(AffineTransform transform)
- Wraps the specified transform. The transform is cloned and a
reference to the clone is kept. The original transform is unchanged.
- Parameters:
transform
- the specified AffineTransform
to be wrapped
getTransform
public AffineTransform getTransform()
- Returns a copy of the wrapped transform.
- Returns:
- a
AffineTransform
that is a copy of the wrapped
transform of this TransformAttribute
.
Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.