Matrix.initScale

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

class Matrix
void
initScale
(
double sx
,
double sy
)

Parameters

sx double

scale factor in the X direction

sy double

scale factor in the Y direction

Meta