Matrix.initScale

void initScale(double sx, double sy)

Initializes matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively.

Parameters

sxscale factor in the X direction
syscale factor in the Y direction