Matrix.initScale

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

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