abstract class Translator extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) double |
tHeight |
(package private) double |
tScaleFactor |
(package private) double |
tWidth |
(package private) double |
tX |
(package private) double |
tY |
Constructor and Description |
---|
Translator(double tX,
double tY,
double tWidth,
double tHeight,
double tScaleFactor) |
Modifier and Type | Method and Description |
---|---|
(package private) abstract int |
getHeight(double width,
double height) |
(package private) abstract int |
getWidth(double width,
double height) |
(package private) abstract int |
getX(double x,
double y,
double width,
double height) |
(package private) abstract int |
getY(double x,
double y,
double width,
double height) |
(package private) int |
scale(double arg) |
double tX
double tY
double tWidth
double tHeight
double tScaleFactor
Translator(double tX, double tY, double tWidth, double tHeight, double tScaleFactor)
int scale(double arg)
abstract int getX(double x, double y, double width, double height)
abstract int getY(double x, double y, double width, double height)
abstract int getWidth(double width, double height)
abstract int getHeight(double width, double height)