pythagoras.f

## Class AbstractTransform

• ### Constructor Summary

Constructors
Constructor and Description
`AbstractTransform()`
• ### Method Summary

All Methods
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.
• ### Methods inherited from class java.lang.Object

`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Methods inherited from interface pythagoras.f.Transform

`concatenate, generality, get, inverseTransform, inverseTransform, invert, lerp, preConcatenate, rotation, scaleX, scaleY, transform, transform, transform, transform, transformPoint, tx, ty, uniformScale`
• ### Constructor Detail

• #### AbstractTransform

`public AbstractTransform()`
• ### Method Detail

• #### scale

`public Vector scale()`
Description copied from interface: `Transform`
Returns the scale vector for this transform.
Specified by:
`scale` in interface `Transform`
• #### translation

`public Vector translation()`
Description copied from interface: `Transform`
Returns the translation vector for this transform.
Specified by:
`translation` in interface `Transform`
• #### setUniformScale

`public Transform setUniformScale(float scale)`
Description copied from interface: `Transform`
Sets the uniform scale of this transform.
Specified by:
`setUniformScale` in interface `Transform`
Returns:
this instance, for chaining.
• #### setScale

```public Transform setScale(float scaleX,
float scaleY)```
Description copied from interface: `Transform`
Sets the x and y scale of this transform.
Specified by:
`setScale` in interface `Transform`
Returns:
this instance, for chaining.
• #### setScaleX

`public Transform setScaleX(float scaleX)`
Description copied from interface: `Transform`
Sets the x scale of this transform.
Specified by:
`setScaleX` in interface `Transform`
Returns:
this instance, for chaining.
• #### setScaleY

`public Transform setScaleY(float scaleY)`
Description copied from interface: `Transform`
Sets the y scale of this transform.
Specified by:
`setScaleY` in interface `Transform`
Returns:
this instance, for chaining.
• #### setRotation

`public Transform setRotation(float angle)`
Description copied from interface: `Transform`
Sets the rotation component of this transform.
Specified by:
`setRotation` in interface `Transform`
Returns:
this instance, for chaining.
• #### setTranslation

```public Transform setTranslation(float tx,
float ty)```
Description copied from interface: `Transform`
Sets the translation component of this transform.
Specified by:
`setTranslation` in interface `Transform`
Returns:
this instance, for chaining.
• #### uniformScale

`public Transform uniformScale(float scale)`
Description copied from interface: `Transform`
Scales this transform in a uniform manner by the specified amount.
Specified by:
`uniformScale` in interface `Transform`
Returns:
this instance, for chaining.
• #### scale

```public Transform scale(float scaleX,
float scaleY)```
Description copied from interface: `Transform`
Scales this transform by the specified amount in the x and y dimensions.
Specified by:
`scale` in interface `Transform`
Returns:
this instance, for chaining.
• #### scaleX

`public Transform scaleX(float scaleX)`
Description copied from interface: `Transform`
Scales this transform by the specified amount in the x dimension.
Specified by:
`scaleX` in interface `Transform`
Returns:
this instance, for chaining.
• #### scaleY

`public Transform scaleY(float scaleY)`
Description copied from interface: `Transform`
Scales this transform by the specified amount in the y dimension.
Specified by:
`scaleY` in interface `Transform`
Returns:
this instance, for chaining.
• #### rotate

`public Transform rotate(float angle)`
Description copied from interface: `Transform`
Rotates this transform.
Specified by:
`rotate` in interface `Transform`
Returns:
this instance, for chaining.
• #### translate

```public Transform translate(float tx,
float ty)```
Description copied from interface: `Transform`
Translates this transform.
Specified by:
`translate` in interface `Transform`
Returns:
this instance, for chaining.
• #### translateX

`public Transform translateX(float tx)`
Description copied from interface: `Transform`
Translates this transform in the x dimension.
Specified by:
`translateX` in interface `Transform`
Returns:
this instance, for chaining.
• #### translateY

`public Transform translateY(float ty)`
Description copied from interface: `Transform`
Translates this transform in the y dimension.
Specified by:
`translateY` in interface `Transform`
Returns:
this instance, for chaining.
• #### shear

```public Transform shear(float sx,
float sy)```
Description copied from interface: `Transform`
Shears this transform.
Specified by:
`shear` in interface `Transform`
Returns:
this instance, for chaining.
• #### shearX

`public Transform shearX(float sx)`
Description copied from interface: `Transform`
Shears this transform in the x dimension.
Specified by:
`shearX` in interface `Transform`
Returns:
this instance, for chaining.
• #### shearY

`public Transform shearY(float sy)`
Description copied from interface: `Transform`
Shears this transform in the y dimension.
Specified by:
`shearY` in interface `Transform`
Returns:
this instance, for chaining.
• #### setTx

`public Transform setTx(float tx)`
Description copied from interface: `Transform`
Sets the x-component of this transform's translation.
Specified by:
`setTx` in interface `Transform`
Returns:
this instance, for chaining.
• #### setTy

`public Transform setTy(float ty)`
Description copied from interface: `Transform`
Sets the y-component of this transform's translation.
Specified by:
`setTy` in interface `Transform`
Returns:
this instance, for chaining.
• #### setTransform

```public Transform setTransform(float m00,
float m01,
float m10,
float m11,
float tx,
float ty)```
Description copied from interface: `Transform`
Sets the affine transform matrix.
Specified by:
`setTransform` in interface `Transform`
Returns:
this instance, for chaining.
• #### clone

```@Deprecated
public Transform clone()```
Deprecated.
Specified by:
`clone` in interface `Transform`
Overrides:
`clone` in class `Object`
• #### copy

`public abstract Transform copy()`
Description copied from interface: `Transform`
Returns a copy of this transform.
Specified by:
`copy` in interface `Transform`