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(double angle)
Rotates this transform.
|
Vector |
scale()
Returns the scale vector for this transform.
|
Transform |
scale(double scaleX,
double scaleY)
Scales this transform by the specified amount in the x and y dimensions.
|
Transform |
scaleX(double scaleX)
Scales this transform by the specified amount in the x dimension.
|
Transform |
scaleY(double scaleY)
Scales this transform by the specified amount in the y dimension.
|
Transform |
setRotation(double angle)
Sets the rotation component of this transform.
|
Transform |
setScale(double scaleX,
double scaleY)
Sets the x and y scale of this transform.
|
Transform |
setScaleX(double scaleX)
Sets the x scale of this transform.
|
Transform |
setScaleY(double scaleY)
Sets the y scale of this transform.
|
Transform |
setTransform(double m00,
double m01,
double m10,
double m11,
double tx,
double ty)
Sets the affine transform matrix.
|
Transform |
setTranslation(double tx,
double ty)
Sets the translation component of this transform.
|
Transform |
setTx(double tx)
Sets the x-component of this transform's translation.
|
Transform |
setTy(double ty)
Sets the y-component of this transform's translation.
|
Transform |
setUniformScale(double scale)
Sets the uniform scale of this transform.
|
Transform |
shear(double sx,
double sy)
Shears this transform.
|
Transform |
shearX(double sx)
Shears this transform in the x dimension.
|
Transform |
shearY(double sy)
Shears this transform in the y dimension.
|
Transform |
translate(double tx,
double ty)
Translates this transform.
|
Transform |
translateX(double tx)
Translates this transform in the x dimension.
|
Transform |
translateY(double ty)
Translates this transform in the y dimension.
|
Vector |
translation()
Returns the translation vector for this transform.
|
Transform |
uniformScale(double 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(double scale)
Transform
setUniformScale
in interface Transform
public Transform setScale(double scaleX, double scaleY)
Transform
public Transform setScaleX(double scaleX)
Transform
public Transform setScaleY(double scaleY)
Transform
public Transform setRotation(double angle)
Transform
setRotation
in interface Transform
public Transform setTranslation(double tx, double ty)
Transform
setTranslation
in interface Transform
public Transform uniformScale(double scale)
Transform
uniformScale
in interface Transform
public Transform scale(double scaleX, double scaleY)
Transform
public Transform scaleX(double scaleX)
Transform
public Transform scaleY(double scaleY)
Transform
public Transform rotate(double angle)
Transform
public Transform translate(double tx, double ty)
Transform
public Transform translateX(double tx)
Transform
translateX
in interface Transform
public Transform translateY(double ty)
Transform
translateY
in interface Transform
public Transform shear(double sx, double sy)
Transform
public Transform shearX(double sx)
Transform
public Transform shearY(double sy)
Transform
public Transform setTx(double tx)
Transform
public Transform setTy(double ty)
Transform
public Transform setTransform(double m00, double m01, double m10, double m11, double tx, double ty)
Transform
setTransform
in interface Transform
@Deprecated public Transform clone()
Copyright © 2017. All rights reserved.