aboutsummaryrefslogtreecommitdiffstats
path: root/src/animation/Runner.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/animation/Runner.js')
-rw-r--r--src/animation/Runner.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/animation/Runner.js b/src/animation/Runner.js
index 4ad222f..8fd4b8b 100644
--- a/src/animation/Runner.js
+++ b/src/animation/Runner.js
@@ -899,6 +899,14 @@ extend(Runner, {
return this._queueNumber('y', y)
},
+ ax(x) {
+ return this._queueNumber('ax', x)
+ },
+
+ ay(y) {
+ return this._queueNumber('ay', y)
+ },
+
dx(x = 0) {
return this._queueNumberDelta('x', x)
},
@@ -980,6 +988,10 @@ extend(Runner, {
return this.x(x).y(y)
},
+ amove(x, y) {
+ return this.ax(x).ay(y)
+ },
+
// Add animatable center
center(x, y) {
return this.cx(x).cy(y)