diff --git a/src/main/scala/org/scalajs/dom/raw/lib.scala b/src/main/scala/org/scalajs/dom/raw/lib.scala index 769126d42..74826d1b7 100644 --- a/src/main/scala/org/scalajs/dom/raw/lib.scala +++ b/src/main/scala/org/scalajs/dom/raw/lib.scala @@ -3718,6 +3718,13 @@ class CanvasRenderingContext2D extends js.Object { */ def moveTo(x: Double, y: Double): Unit = js.native + /** + * Moves the current window by a specified amount. + * + * MDN + */ + def moveBy(deltaX: Double, deltaY: Double): Unit = js.native + /** * Returns an ImageData object representing the underlying pixel data for the area of * the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh