scale abstract method

void scale(
  1. double sx,
  2. [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.

If sy is unspecified, sx will be used for the scale in both directions.

Implementation

void scale(double sx, [double? sy]);