PgMatrix.scale

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.

class PgMatrix
void
scale
(
double scaleX
,
double scaleY
)

Parameters

scaleX double

amount to scale by in X direction

scaleY double

amount to scale by in Y direction

Meta