Create Identity transform.
Creates a PerspectiveTransform that maps an arbitrary quadrilateral 1 onto another arbitrary quadrilateral 2.
Creates a PerspectiveTransform that maps an arbitrary quadrilateral 1 onto another arbitrary quadrilateral 2.
(x0, y0) -> (x0p, y0p) (x1, y1) -> (x1p, y1p) (x2, y2) -> (x2p, y2p) (x3, y3) -> (x3p, y3p)
Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto another arbitrary quadrilateral.
Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto another arbitrary quadrilateral.
(x0, y0) -> (x0p, y0p) (x1, y1) -> (x1p, y1p) (x2, y2) -> (x2p, y2p) (x3, y3) -> (x3p, y3p)
Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto the unit square.
Creates a PerspectiveTransform that maps an arbitrary quadrilateral onto the unit square.
(x0, y0) -> (0, 0) (x1, y1) -> (1, 0) (x2, y2) -> (1, 1) (x3, y3) -> (0, 1)
Create rotation transformation about a specified point (x, y).
Create rotation transformation about a specified point (x, y).
Rotating with a positive angle theta rotates points on the positive X axis toward the positive Y axis.
The angle of rotation in radians.
The X coordinate of the origin of the rotation
The Y coordinate of the origin of the rotation
Create rotation transformation.
Create rotation transformation.
The matrix representing this transform is:
[ cos(theta) -sin(theta) 0 ] [ sin(theta) cos(theta) 0 ] [ 0 0 1 ]
Rotating with a positive angle theta rotates points on the positive X axis toward the positive Y axis.
The angle of rotation in radians.
Scale transformation with scale factors sx and sy.
Scale transformation with scale factors sx and sy.
The matrix representing this transform becomes:
[ sx 0 0 ] [ 0 sy 0 ] [ 0 0 1 ]
The X axis scale factor.
The Y axis scale factor.
Sets this transform to a shearing transformation with shear factors sx and sy.
Sets this transform to a shearing transformation with shear factors sx and sy.
The matrix representing this transform becomes:
[ 1 shx 0 ] [ shy 1 0 ] [ 0 0 1 ]
The factor by which coordinates are shifted towards the positive X axis direction according to their Y coordinate.
The factor by which coordinates are shifted towards the positive Y axis direction according to their X coordinate.
Creates a PerspectiveTransform that maps the unit square onto an arbitrary quadrilateral.
Creates a PerspectiveTransform that maps the unit square onto an arbitrary quadrilateral.
(0, 0) -> (x0, y0) (1, 0) -> (x1, y1) (1, 1) -> (x2, y2) (0, 1) -> (x3, y3)
Create translation transformation.
Create translation transformation.
The matrix representing this transform is:
[ 1 0 tx ] [ 0 1 ty ] [ 0 0 1 ]
The distance by which coordinates are translated in the X axis direction
The distance by which coordinates are translated in the Y axis direction
Factory methods for creating projective transforms.