| Modifier and Type | Method and Description |
|---|---|
void |
scale(double sf)
Scales the object on the screen by the scale factor
sf, which applies
in both dimensions. |
void |
scale(double sx,
double sy)
Scales the object on the screen by the scale factors
sx and sy. |
void scale(double sx,
double sy)
sx and sy.sx - The factor used to scale all coordinates in the x directionsy - The factor used to scale all coordinates in the y directionvoid scale(double sf)
sf, which applies
in both dimensions.sf - The factor used to scale all coordinates in both dimensions