transform method

void transform(
  1. num a,
  2. num b,
  3. num c,
  4. num d,
  5. num e,
  6. num f,
)

The CanvasRenderingContext2D.transform() method of the Canvas 2D API multiplies the current transformation with the matrix described by the arguments of this method. This lets you scale, rotate, translate (move), and skew the context.

Note: See also the CanvasRenderingContext2D.setTransform method, which resets the current transform to the identity matrix and then invokes transform().

Implementation

external void transform(
  num a,
  num b,
  num c,
  num d,
  num e,
  num f,
);