Package | Description |
---|---|
pythagoras.d |
The Pythagoras geometry utility classes specialized on
double . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTransform
Implements some code shared by the various
Transform implementations. |
class |
AffineTransform
Implements an affine (3x2 matrix) transform.
|
class |
IdentityTransform
Implements the identity transform.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Transform> |
Transforms.multiply(AffineTransform a,
AffineTransform b,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(AffineTransform a,
double m00,
double m01,
double m10,
double m11,
double tx,
double ty,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(double m00,
double m01,
double m10,
double m11,
double tx,
double ty,
AffineTransform b,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
static <T extends Transform> |
Transforms.multiply(double am00,
double am01,
double am10,
double am11,
double atx,
double aty,
double bm00,
double bm01,
double bm10,
double bm11,
double btx,
double bty,
T into)
Multiplies the supplied two affine transforms, storing the result in
into . |
Modifier and Type | Method and Description |
---|---|
Transform |
Transform.clone()
Deprecated.
Use
copy() . |
Transform |
AbstractTransform.clone()
Deprecated.
|
Transform |
Transform.concatenate(Transform other)
Returns a new transform comprised of the concatenation of
other to this transform
(i.e. |
Transform |
IdentityTransform.concatenate(Transform other) |
Transform |
AffineTransform.concatenate(Transform other) |
Transform |
Transform.copy()
Returns a copy of this transform.
|
abstract Transform |
AbstractTransform.copy() |
Transform |
Transform.invert()
Returns a new transform that represents the inverse of this transform.
|
Transform |
IdentityTransform.invert() |
Transform |
Transform.lerp(Transform other,
double t)
Returns a new transform comprised of the linear interpolation between this transform and
the specified other.
|
Transform |
IdentityTransform.lerp(Transform other,
double t) |
Transform |
AffineTransform.lerp(Transform other,
double t) |
Transform |
Transform.preConcatenate(Transform other)
Returns a new transform comprised of the concatenation of this transform to
other
(i.e. |
Transform |
IdentityTransform.preConcatenate(Transform other) |
Transform |
AffineTransform.preConcatenate(Transform other) |
Transform |
Transform.rotate(double angle)
Rotates this transform.
|
Transform |
AbstractTransform.rotate(double angle) |
Transform |
Transform.scale(double scaleX,
double scaleY)
Scales this transform by the specified amount in the x and y dimensions.
|
Transform |
AbstractTransform.scale(double scaleX,
double scaleY) |
Transform |
Transform.scaleX(double scaleX)
Scales this transform by the specified amount in the x dimension.
|
Transform |
AbstractTransform.scaleX(double scaleX) |
Transform |
Transform.scaleY(double scaleY)
Scales this transform by the specified amount in the y dimension.
|
Transform |
AbstractTransform.scaleY(double scaleY) |
Transform |
Transform.setRotation(double angle)
Sets the rotation component of this transform.
|
Transform |
AbstractTransform.setRotation(double angle) |
Transform |
Transform.setScale(double scaleX,
double scaleY)
Sets the x and y scale of this transform.
|
Transform |
AbstractTransform.setScale(double scaleX,
double scaleY) |
Transform |
Transform.setScaleX(double scaleX)
Sets the x scale of this transform.
|
Transform |
AbstractTransform.setScaleX(double scaleX) |
Transform |
Transform.setScaleY(double scaleY)
Sets the y scale of this transform.
|
Transform |
AbstractTransform.setScaleY(double scaleY) |
Transform |
Transform.setTransform(double m00,
double m01,
double m10,
double m11,
double tx,
double ty)
Sets the affine transform matrix.
|
Transform |
AbstractTransform.setTransform(double m00,
double m01,
double m10,
double m11,
double tx,
double ty) |
Transform |
Transform.setTranslation(double tx,
double ty)
Sets the translation component of this transform.
|
Transform |
AbstractTransform.setTranslation(double tx,
double ty) |
Transform |
Transform.setTx(double tx)
Sets the x-component of this transform's translation.
|
Transform |
AbstractTransform.setTx(double tx) |
Transform |
Transform.setTy(double ty)
Sets the y-component of this transform's translation.
|
Transform |
AbstractTransform.setTy(double ty) |
Transform |
Transform.setUniformScale(double scale)
Sets the uniform scale of this transform.
|
Transform |
AbstractTransform.setUniformScale(double scale) |
Transform |
Transform.shear(double tx,
double ty)
Shears this transform.
|
Transform |
AbstractTransform.shear(double sx,
double sy) |
Transform |
Transform.shearX(double tx)
Shears this transform in the x dimension.
|
Transform |
AbstractTransform.shearX(double sx) |
Transform |
Transform.shearY(double ty)
Shears this transform in the y dimension.
|
Transform |
AbstractTransform.shearY(double sy) |
Transform |
Transform.translate(double tx,
double ty)
Translates this transform.
|
Transform |
AbstractTransform.translate(double tx,
double ty) |
Transform |
Transform.translateX(double tx)
Translates this transform in the x dimension.
|
Transform |
AbstractTransform.translateX(double tx) |
Transform |
Transform.translateY(double ty)
Translates this transform in the y dimension.
|
Transform |
AbstractTransform.translateY(double ty) |
Transform |
Transform.uniformScale(double scale)
Scales this transform in a uniform manner by the specified amount.
|
Transform |
AbstractTransform.uniformScale(double scale) |
Modifier and Type | Method and Description |
---|---|
Transform |
Transform.concatenate(Transform other)
Returns a new transform comprised of the concatenation of
other to this transform
(i.e. |
Transform |
IdentityTransform.concatenate(Transform other) |
Transform |
AffineTransform.concatenate(Transform other) |
Area |
Area.createTransformedArea(Transform t)
Creates a new area equal to this area transformed by the supplied transform.
|
IShape |
Path.createTransformedShape(Transform t) |
static IShape |
Transforms.createTransformedShape(Transform t,
IShape src)
Creates and returns a new shape that is the supplied shape transformed by this transform's
matrix.
|
Transform |
Transform.lerp(Transform other,
double t)
Returns a new transform comprised of the linear interpolation between this transform and
the specified other.
|
Transform |
IdentityTransform.lerp(Transform other,
double t) |
Transform |
AffineTransform.lerp(Transform other,
double t) |
PathIterator |
Path.pathIterator(Transform t) |
PathIterator |
IShape.pathIterator(Transform at)
Returns an iterator over the path described by this shape.
|
PathIterator |
Area.pathIterator(Transform t) |
PathIterator |
AbstractRoundRectangle.pathIterator(Transform at) |
PathIterator |
AbstractRectangle.pathIterator(Transform t) |
PathIterator |
AbstractQuadCurve.pathIterator(Transform t) |
PathIterator |
AbstractLine.pathIterator(Transform at) |
PathIterator |
AbstractEllipse.pathIterator(Transform at) |
PathIterator |
AbstractCubicCurve.pathIterator(Transform t) |
PathIterator |
AbstractArc.pathIterator(Transform at) |
PathIterator |
RectangularShape.pathIterator(Transform t,
double flatness) |
PathIterator |
Path.pathIterator(Transform t,
double flatness) |
PathIterator |
IShape.pathIterator(Transform at,
double flatness)
Returns an iterator over the path described by this shape.
|
PathIterator |
Area.pathIterator(Transform t,
double flatness) |
PathIterator |
AbstractRectangle.pathIterator(Transform t,
double flatness) |
PathIterator |
AbstractQuadCurve.pathIterator(Transform t,
double flatness) |
PathIterator |
AbstractLine.pathIterator(Transform at,
double flatness) |
PathIterator |
AbstractCubicCurve.pathIterator(Transform at,
double flatness) |
Transform |
Transform.preConcatenate(Transform other)
Returns a new transform comprised of the concatenation of this transform to
other
(i.e. |
Transform |
IdentityTransform.preConcatenate(Transform other) |
Transform |
AffineTransform.preConcatenate(Transform other) |
Ray2 |
Ray2.transform(Transform transform) |
void |
Path.transform(Transform t) |
Ray2 |
IRay2.transform(Transform transform)
Transforms this ray.
|
void |
Area.transform(Transform t)
Transforms this area with the supplied transform.
|
Ray2 |
Ray2.transform(Transform transform,
Ray2 result) |
Ray2 |
IRay2.transform(Transform transform,
Ray2 result)
Transforms this ray, placing the result in the object provided.
|
Ray2 |
Ray2.transformLocal(Transform transform)
Transforms this ray in-place.
|
Copyright © 2017. All rights reserved.