Home » openjdk-7 » java » awt » font » [javadoc | source]
public final class: TransformAttribute [javadoc | source]

All Implemented Interfaces:

The TransformAttribute class provides an immutable wrapper for a transform so that it is safe to use as an attribute.
Field Summary
public static final  TransformAttribute IDENTITY    A TransformAttribute representing the identity transform.
    since: 1.6 -
static final  long serialVersionUID     
 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. If null is passed as the argument, this constructor behaves as though it were the identity transform. (Note that it is preferable to use #IDENTITY in this case.)
    transform - the specified AffineTransform to be wrapped, or null.
Method from java.awt.font.TransformAttribute Summary:
equals,   getTransform,   hashCode,   isIdentity
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.font.TransformAttribute Detail:
 public boolean equals(Object rhs) 
    Returns true if rhs is a TransformAttribute whose transform is equal to this TransformAttribute's transform.
 public AffineTransform getTransform() 
    Returns a copy of the wrapped transform.
 public int hashCode() 
 public boolean isIdentity() 
    Returns true if the wrapped transform is an identity transform.