Static Public Member Functions | |
static double | makeItFit (double width, double height, double maxWidth, double maxHeight) |
Returns the scale necessary to make width/height fit inside maxWidth/maxHeight. |
Definition at line 13 of file Regions.java.
static double makeItFit | ( | double | width, | |
double | height, | |||
double | maxWidth, | |||
double | maxHeight | |||
) | [static] |
Returns the scale necessary to make width/height fit inside maxWidth/maxHeight.
width | ||
height | ||
maxWidth | ||
maxHeight |
Definition at line 24 of file Regions.java.