Matrix.scale

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. Since 1.0

class Matrix
void
scale
(
double sx
,
double sy
)

Parameters

sx double

scale factor in the X direction

sy double

scale factor in the Y direction