Spec-Zone .ru
спецификации, руководства, описания, API
JavaTM 2 Platform
Standard Edition

java.awt.font
Class TransformAttribute

java.lang.Object
  |
  +--java.awt.font.TransformAttribute

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

Constructor Summary
TransformAttribute(AffineTransform transform)
          Wraps the specified transform.
 
Method Summary
 AffineTransform getTransform()
          Returns a copy of the wrapped transform.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.