public abstract class AbstractTransform extends Object implements Transform
Transform implementations.| Constructor and Description |
|---|
AbstractTransform() |
| Modifier and Type | Method and Description |
|---|---|
Transform |
clone()
Deprecated.
|
abstract Transform |
copy()
Returns a copy of this transform.
|
Transform |
rotate(float angle)
Rotates this transform.
|
Vector |
scale()
Returns the scale vector for this transform.
|
Transform |
scale(float scaleX,
float scaleY)
Scales this transform by the specified amount in the x and y dimensions.
|
Transform |
scaleX(float scaleX)
Scales this transform by the specified amount in the x dimension.
|
Transform |
scaleY(float scaleY)
Scales this transform by the specified amount in the y dimension.
|
Transform |
setRotation(float angle)
Sets the rotation component of this transform.
|
Transform |
setScale(float scaleX,
float scaleY)
Sets the x and y scale of this transform.
|
Transform |
setScaleX(float scaleX)
Sets the x scale of this transform.
|
Transform |
setScaleY(float scaleY)
Sets the y scale of this transform.
|
Transform |
setTransform(float m00,
float m01,
float m10,
float m11,
float tx,
float ty)
Sets the affine transform matrix.
|
Transform |
setTranslation(float tx,
float ty)
Sets the translation component of this transform.
|
Transform |
setTx(float tx)
Sets the x-component of this transform's translation.
|
Transform |
setTy(float ty)
Sets the y-component of this transform's translation.
|
Transform |
setUniformScale(float scale)
Sets the uniform scale of this transform.
|
Transform |
shear(float sx,
float sy)
Shears this transform.
|
Transform |
shearX(float sx)
Shears this transform in the x dimension.
|
Transform |
shearY(float sy)
Shears this transform in the y dimension.
|
Transform |
translate(float tx,
float ty)
Translates this transform.
|
Transform |
translateX(float tx)
Translates this transform in the x dimension.
|
Transform |
translateY(float ty)
Translates this transform in the y dimension.
|
Vector |
translation()
Returns the translation vector for this transform.
|
Transform |
uniformScale(float scale)
Scales this transform in a uniform manner by the specified amount.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconcatenate, generality, get, inverseTransform, inverseTransform, invert, lerp, preConcatenate, rotation, scaleX, scaleY, transform, transform, transform, transform, transformPoint, tx, ty, uniformScalepublic Vector scale()
Transformpublic Vector translation()
Transformtranslation in interface Transformpublic Transform setUniformScale(float scale)
TransformsetUniformScale in interface Transformpublic Transform setScale(float scaleX, float scaleY)
Transformpublic Transform setScaleX(float scaleX)
Transformpublic Transform setScaleY(float scaleY)
Transformpublic Transform setRotation(float angle)
TransformsetRotation in interface Transformpublic Transform setTranslation(float tx, float ty)
TransformsetTranslation in interface Transformpublic Transform uniformScale(float scale)
TransformuniformScale in interface Transformpublic Transform scale(float scaleX, float scaleY)
Transformpublic Transform scaleX(float scaleX)
Transformpublic Transform scaleY(float scaleY)
Transformpublic Transform rotate(float angle)
Transformpublic Transform translate(float tx, float ty)
Transformpublic Transform translateX(float tx)
TransformtranslateX in interface Transformpublic Transform translateY(float ty)
TransformtranslateY in interface Transformpublic Transform shear(float sx, float sy)
Transformpublic Transform shearX(float sx)
Transformpublic Transform shearY(float sy)
Transformpublic Transform setTx(float tx)
Transformpublic Transform setTy(float ty)
Transformpublic Transform setTransform(float m00, float m01, float m10, float m11, float tx, float ty)
TransformsetTransform in interface Transform@Deprecated public Transform clone()
Copyright © 2017. All rights reserved.