Matrix.scale
void scale(double sx, double sy)Applies scaling by sx, sy to the transformation in matrix. The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates.
Parameters
sx | scale factor in the X direction |
sy | scale factor in the Y direction |