Package | Description |
---|---|
org.eclipse.gef4.geometry.convert.awt |
This package provides support for converting geometric objects to AWT.
|
org.eclipse.gef4.geometry.planar |
This package provides support for geometric calculations based on shapes.
|
Modifier and Type | Method and Description |
---|---|
static AffineTransform |
AWT2Geometry.toAffineTransform(java.awt.geom.AffineTransform t)
Converts an AWT
AffineTransform into a GEF4
AffineTransform |
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.AffineTransform |
Geometry2AWT.toAWTAffineTransform(AffineTransform t)
Converts a GEF
AffineTransform into an AWT
AffineTransform . |
Modifier and Type | Method and 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(AffineTransform Tx)
Sets the transformation matrix of this
AffineTransform to the
transformation matrix of the given AffineTransform . |
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.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 . |
Copyright (c) 2014 itemis AG, and others. All rights reserved.