La classe AffineTransform

Horizontale.gif (2348 octets)

Objet par l'intermédiaire duquel sera programmée une transformation géométrique affine.

Constructeurs

AffineTransform()
AffineTransform(AffineTransform Tx)
AffineTransform(double[] flatmatrix)
AffineTransform(double m00, double m10, double m01, double m11, double m02, double m12)
AffineTransform(float[] flatmatrix)
AffineTransform(float m00, float m10, float m01, float m11, float m02, float m12)

 

Valeur rendue

Nom et paramètres

void concatenate(AffineTransform Tx)
AffineTransform createInverse()
Shape createTransformedShape(Shape pSrc)
void deltaTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Point2D deltaTransform(Point2D ptSrc, Point2D ptDst)
double getDeterminant()
void getMatrix(double[] flatmatrix)
static AffineTransform getRotateInstance(double theta)
static AffineTransform getRotateInstance(double theta, double x, double y)
static AffineTransform getScaleInstance(double sx, double sy)
double getScaleX()
double getScaleY()
static AffineTransform getShearInstance(double shx, double shy)
double getShearX()
double getShearY()
static AffineTransform getTranslateInstance(double tx, double ty)
double getTranslateX()
double getTranslateY()
int getType()
void inverseTransform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
Point2D inverseTransform(Point2D ptSrc, Point2D ptDst)
boolean isIdentity()
void preConcatenate(AffineTransform Tx)
void rotate(double theta)
void rotate(double theta, double x, double y)
void scale(double sx, double sy)
void setToIdentity()
void setToRotation(double theta)
void setToRotation(double theta, double x, double y)
void setToScale(double sx, double sy)
void setToShear(double shx, double shy)
void setToTranslation(double tx, double ty)
void setTransform(AffineTransform Tx)
void setTransform(double m00, double m10, double m01, double m11, double m02, double m12)
void shear(double shx, double shy)
void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
void transform(double[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
void transform(float[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
void transform(Point2D[] ptSrc, int srcOff, Point2D[] ptDst, int dstOff, int numPts)
Point2D transform(Point2D ptSrc, Point2D ptDst)
void translate(double tx, double ty)

 

Valeur

Champ

static int CAP_BUTT
static int CAP_ROUND
static int CAP_SQUARE
static int JOIN_BEVEL
static int JOIN_MITER
static int JOIN_ROUND

Retour