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, wait
concatenate, generality, get, inverseTransform, inverseTransform, invert, lerp, preConcatenate, rotation, scaleX, scaleY, transform, transform, transform, transform, transformPoint, tx, ty, uniformScale
public Vector scale()
Transform
public Vector translation()
Transform
translation
in interface Transform
public Transform setUniformScale(float scale)
Transform
setUniformScale
in interface Transform
public Transform setScale(float scaleX, float scaleY)
Transform
public Transform setScaleX(float scaleX)
Transform
public Transform setScaleY(float scaleY)
Transform
public Transform setRotation(float angle)
Transform
setRotation
in interface Transform
public Transform setTranslation(float tx, float ty)
Transform
setTranslation
in interface Transform
public Transform uniformScale(float scale)
Transform
uniformScale
in interface Transform
public Transform scale(float scaleX, float scaleY)
Transform
public Transform scaleX(float scaleX)
Transform
public Transform scaleY(float scaleY)
Transform
public Transform rotate(float angle)
Transform
public Transform translate(float tx, float ty)
Transform
public Transform translateX(float tx)
Transform
translateX
in interface Transform
public Transform translateY(float ty)
Transform
translateY
in interface Transform
public Transform shear(float sx, float sy)
Transform
public Transform shearX(float sx)
Transform
public Transform shearY(float sy)
Transform
public Transform setTx(float tx)
Transform
public Transform setTy(float ty)
Transform
public Transform setTransform(float m00, float m01, float m10, float m11, float tx, float ty)
Transform
setTransform
in interface Transform
@Deprecated public Transform clone()
Copyright © 2017. All rights reserved.