Canvasity.scale

Scale the current transform.

Negative scaling factors will flip or mirror it in that direction. The scaling factors must be non-zero. If either is zero, most drawing operations will do nothing.

Parameters

x float

Horizontal scaling factor.

y float

Vertical scaling factor.

Meta