The TransformAttribute class provides an immutable wrapper for a transform so that it is safe to use as an attribute.
The TransformAttribute class provides an immutable wrapper for a transform so that it is safe to use as an attribute.
Static Constant.
A TransformAttribute representing the identity transform.
type: java.awt.font.TransformAttribute
Static Constant. A TransformAttribute representing the identity transform. type: java.awt.font.TransformAttribute
(->transform-attribute transform)
Constructor.
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. - java.awt.geom.AffineTransform
Constructor. 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. - `java.awt.geom.AffineTransform`
(equals this rhs)
Returns true if rhs is a TransformAttribute whose transform is equal to this TransformAttribute's transform.
rhs - the object to compare to - java.lang.Object
returns: true if the argument is a TransformAttribute
whose transform is equal to this TransformAttribute's
transform. - boolean
Returns true if rhs is a TransformAttribute whose transform is equal to this TransformAttribute's transform. rhs - the object to compare to - `java.lang.Object` returns: true if the argument is a TransformAttribute whose transform is equal to this TransformAttribute's transform. - `boolean`
(get-transform this)
Returns a copy of the wrapped transform.
returns: a AffineTransform that is a copy of the wrapped
transform of this TransformAttribute. - java.awt.geom.AffineTransform
Returns a copy of the wrapped transform. returns: a AffineTransform that is a copy of the wrapped transform of this TransformAttribute. - `java.awt.geom.AffineTransform`
(hash-code this)
Description copied from class: Object
returns: a hash code value for this object. - int
Description copied from class: Object returns: a hash code value for this object. - `int`
(identity? this)
Returns true if the wrapped transform is an identity transform.
returns: true if the wrapped transform is
an identity transform; false otherwise. - boolean
Returns true if the wrapped transform is an identity transform. returns: true if the wrapped transform is an identity transform; false otherwise. - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close