class TranslatorSN extends Translator
tHeight, tScaleFactor, tWidth, tX, tY
Constructor and Description |
---|
TranslatorSN(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) |
scale
TranslatorSN(double tX, double tY, double tWidth, double tHeight, double tScaleFactor)
int getX(double x, double y, double width, double height)
getX
in class Translator
int getY(double x, double y, double width, double height)
getY
in class Translator
int getWidth(double width, double height)
getWidth
in class Translator
int getHeight(double width, double height)
getHeight
in class Translator