class TranslatorWE extends Translator
tHeight, tScaleFactor, tWidth, tX, tY| Constructor and Description |
|---|
TranslatorWE(double tX,
double tY,
double tWidth,
double tHeight,
double tScaleFactor) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
getHeight(double width,
double height) |
(package private) int |
getWidth(double width,
double height) |
(package private) int |
getX(double x,
double y,
double width,
double height) |
(package private) int |
getY(double x,
double y,
double width,
double height) |
scaleTranslatorWE(double tX, double tY, double tWidth, double tHeight, double tScaleFactor)
int getX(double x, double y, double width, double height)
getX in class Translatorint getY(double x, double y, double width, double height)
getY in class Translatorint getWidth(double width, double height)
getWidth in class Translatorint getHeight(double width, double height)
getHeight in class Translator