void scale(double sx, double sy)

Add an axis-aligned scale to the current transform, scaling by the first argument in the horizontal direction and the second in the vertical direction.

Source

void scale(double sx, double sy) native "Canvas_scale";