Matrix.scale

void scale(double scaleX, double scaleY)

Changes the transformation represented by matrix to be the transformation given by first scaling by sx in the X direction and sy in the Y direction then applying the original transformation.

Parameters

scaleXamount to scale by in X direction
scaleYamount to scale by in Y direction