mirror of
https://github.com/konvajs/konva.git
synced 2025-12-17 18:01:15 +08:00
added angleDeg flag that enables developers to choose radians if they like
This commit is contained in:
@@ -1154,7 +1154,7 @@
|
||||
var m = new Kinetic.Transform(),
|
||||
x = this.getX(),
|
||||
y = this.getY(),
|
||||
rotation = this.getRotation() * Math.PI / 180,
|
||||
rotation = Kinetic.getAngle(this.getRotation()),
|
||||
scaleX = this.getScaleX(),
|
||||
scaleY = this.getScaleY(),
|
||||
skewX = this.getSkewX(),
|
||||
|
||||
Reference in New Issue
Block a user