We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02c0ca commit 3f1b655Copy full SHA for 3f1b655
src/main/scala/org/scalajs/dom/raw/lib.scala
@@ -3718,6 +3718,13 @@ class CanvasRenderingContext2D extends js.Object {
3718
*/
3719
def moveTo(x: Double, y: Double): Unit = js.native
3720
3721
+ /**
3722
+ * Moves the current window by a specified amount.
3723
+ *
3724
+ * MDN
3725
+ */
3726
+ def moveBy(deltaX: Double, deltaY: Double): Unit = js.native
3727
+
3728
/**
3729
* Returns an ImageData object representing the underlying pixel data for the area of
3730
* the canvas denoted by the rectangle which starts at (sx, sy) and has an sw width and sh
0 commit comments