|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Cette interface assure qu'une classe possède des méthodes de transformation géométrique.
| Method Summary | |
void |
rotate(double theta)
Rotate l'objet graphique de l'angle theta autour de l'origine |
void |
rotate(double oriX,
double oriY,
double theta)
Rotate l'objet graphique de l'angle theta autour d'un point |
void |
transform(AffineTransform2D t)
Transforms the object by a general transform AffineTransform. |
void |
translate(double dx,
double dy)
Translate l'objet graphique du vecteur(dx, dy). |
| Method Detail |
public void translate(double dx,
double dy)
double - dx,dy, coordonées du vecteur de translation.public void rotate(double theta)
double - theta, l'angle de rotation en radian
public void rotate(double oriX,
double oriY,
double theta)
double - oriX, double oriY, le centre de la rotationdouble - theta, l'angle de rotation en radianpublic void transform(AffineTransform2D t)
AffineTransform.AffineTransform, - the transform
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||