translate method

void translate(
  1. num x,
  2. num y
)

The CanvasRenderingContext2D.translate() method of the Canvas 2D API adds a translation transformation to the current matrix.

Implementation

external void translate(
  num x,
  num y,
);