# Uses of Class
org.eclipse.gef.geometry.planar.AffineTransform

Packages that use AffineTransform
Package
Description
org.eclipse.gef.geometry.convert.fx
This package contains helper classes to transfer data from JavaFX/Geometry to one another.
org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.

## Uses of AffineTransform in org.eclipse.gef.geometry.convert.fx

Methods in org.eclipse.gef.geometry.convert.fx that return AffineTransform
Modifier and Type
Method
Description
`static final AffineTransform`
FX2Geometry.`toAffineTransform(Transform t)`
Converts the given JavaFX `Transform` to an `AffineTransform` .
Methods in org.eclipse.gef.geometry.convert.fx with parameters of type AffineTransform
Modifier and Type
Method
Description
`static final Affine`
Geometry2FX.`toFXAffine(AffineTransform transform)`
Converts the given `AffineTransform` to a JavaFX `Affine`.

## Uses of AffineTransform in org.eclipse.gef.geometry.planar

Methods in org.eclipse.gef.geometry.planar that return AffineTransform
Modifier and Type
Method
Description
`AffineTransform`
AffineTransform.`concatenate(AffineTransform Tx)`
Concatenates this `AffineTransform` and the given `AffineTransform`, multiplying the transformation matrix of this `AffineTransform` from the left with the transformation matrix of the other `AffineTransform`.
`AffineTransform`
AffineTransform.`getCopy()`
Returns a copy of this `AffineTransform`.
`AffineTransform`
AffineTransform.`getInverse()`
Creates a new `AffineTransform` that represents the inverse transformation of this `AffineTransform`.
`AffineTransform`
AffineTransform.`invert()`
Inverts this `AffineTransform`.
`AffineTransform`
AffineTransform.`preConcatenate(AffineTransform Tx)`
Concatenates this `AffineTransform` and the given `AffineTransform` in reverse order, multiplying the transformation matrix of this `AffineTransform` from the right with the transformation matrix of the other `AffineTransform`.
`AffineTransform`
AffineTransform.`quadrantRotate(int numquadrants)`
Adds a rotation by an integer multiple of 90deg to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`quadrantRotate(int numquadrants, double anchorx, double anchory)`
Adds a rotation by an integer multiple of 90deg around the `Point` specified by the given x and y coordinates to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`rotate(double theta)`
Adds a rotation with the given angle (in radians) to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`rotate(double vecx, double vecy)`
Adds a rotation to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`rotate(double theta, double anchorx, double anchory)`
Adds a rotation with the given angle (in radians) around the `Point` specified by the given x and y coordinates to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`rotate(double vecx, double vecy, double anchorx, double anchory)`
Adds a rotation around a `Point` to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`scale(double sx, double sy)`
Adds an x and y scaling to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`setToIdentity()`
Sets the transformation matrix of this `AffineTransform` to the identity matrix.
`AffineTransform`
AffineTransform.`setToQuadrantRotation(int numquadrants)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation matrix where the rotation angle is an integer multiple of 90deg.
`AffineTransform`
AffineTransform.`setToQuadrantRotation(int numquadrants, double anchorx, double anchory)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation and translation matrix where the rotation angle is an integer multiple of 90deg and the rotation is around the `Point` specified by the given x and y coordinates.
`AffineTransform`
AffineTransform.`setToRotation(double theta)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation matrix by the given angle specified in radians.
`AffineTransform`
AffineTransform.`setToRotation(double vecx, double vecy)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation matrix.
`AffineTransform`
AffineTransform.`setToRotation(double theta, double anchorx, double anchory)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation and translation matrix.
`AffineTransform`
AffineTransform.`setToRotation(double vecx, double vecy, double anchorx, double anchory)`
Sets the transformation matrix of this `AffineTransform` to a pure rotation and translation matrix.
`AffineTransform`
AffineTransform.`setToScale(double sx, double sy)`
Sets the transformation matrix of this `AffineTransform` to a pure scaling matrix.
`AffineTransform`
AffineTransform.`setToShear(double shx, double shy)`
Sets the transformation matrix of this `AffineTransform` to a pure shearing matrix.
`AffineTransform`
AffineTransform.`setToTranslation(double tx, double ty)`
Sets the transformation matrix of this `AffineTransform` to a pure translation matrix that translates `Point`s by the given x and y values.
`AffineTransform`
AffineTransform.`setTransform(double m00, double m10, double m01, double m11, double m02, double m12)`
Sets the respective values of the transformation matrix of this `AffineTransform` to the supplied ones.
`AffineTransform`
AffineTransform.`setTransform(AffineTransform Tx)`
Sets the transformation matrix of this `AffineTransform` to the transformation matrix of the given `AffineTransform`.
`AffineTransform`
AffineTransform.`shear(double shx, double shy)`
Adds an x and y shearing to the transformation matrix of this `AffineTransform`.
`AffineTransform`
AffineTransform.`translate(double tx, double ty)`
Sets the translation values of the x and y coordinates of the transformation matrix of this `AffineTransform`.
Methods in org.eclipse.gef.geometry.planar with parameters of type AffineTransform
Modifier and Type
Method
Description
`AffineTransform`
AffineTransform.`concatenate(AffineTransform Tx)`
Concatenates this `AffineTransform` and the given `AffineTransform`, multiplying the transformation matrix of this `AffineTransform` from the left with the transformation matrix of the other `AffineTransform`.
`BezierCurve`
BezierCurve.`getTransformed(AffineTransform t)`
`CubicCurve`
CubicCurve.`getTransformed(AffineTransform t)`
`CurvedPolygon`
CurvedPolygon.`getTransformed(AffineTransform t)`
`CurvedPolygon`
Ellipse.`getTransformed(AffineTransform t)`
`IGeometry`
IGeometry.`getTransformed(AffineTransform t)`
Returns a new `IGeometry`, which represents the given `IGeometry` after the application of the given `AffineTransform`.
`IShape`
IShape.`getTransformed(AffineTransform t)`
Returns a new `IShape`, which represents the given `IShape` after the application of the given `AffineTransform`.
`Line`
Line.`getTransformed(AffineTransform t)`
`Path`
Path.`getTransformed(AffineTransform t)`
`CurvedPolygon`
Pie.`getTransformed(AffineTransform t)`
`Point`
Point.`getTransformed(AffineTransform transformation)`
Transforms a copy of this `Point` using the given `AffineTransform`.
`PolyBezier`
PolyBezier.`getTransformed(AffineTransform t)`
`Polygon`
Polygon.`getTransformed(AffineTransform t)`
`Polyline`
Polyline.`getTransformed(AffineTransform t)`
`QuadraticCurve`
QuadraticCurve.`getTransformed(AffineTransform t)`
`Polygon`
Rectangle.`getTransformed(AffineTransform t)`
Returns a `Polygon`, which represents the transformed `Rectangle`.
`Ring`
Region.`getTransformed(AffineTransform t)`
`Ring`
Ring.`getTransformed(AffineTransform t)`
`CurvedPolygon`
RoundedRectangle.`getTransformed(AffineTransform t)`
`AffineTransform`
AffineTransform.`preConcatenate(AffineTransform Tx)`
Concatenates this `AffineTransform` and the given `AffineTransform` in reverse order, multiplying the transformation matrix of this `AffineTransform` from the right with the transformation matrix of the other `AffineTransform`.
`AffineTransform`
AffineTransform.`setTransform(AffineTransform Tx)`
Sets the transformation matrix of this `AffineTransform` to the transformation matrix of the given `AffineTransform`.
`Point`
Point.`transform(AffineTransform transformation)`
Transforms this `Point` in-place using the given `AffineTransform`.