@@ -2024,7 +2024,7 @@ this.createjs = this.createjs||{};
2024
2024
/**
2025
2025
* Applies a clockwise rotation transformation to the matrix.
2026
2026
* @method rotate
2027
- * @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `180/ Math.PI`.
2027
+ * @param {Number} angle The angle to rotate by, in degrees. To use a value in radians, multiply it by `Math.PI/180 `.
2028
2028
* @return {Matrix2D} This matrix. Useful for chaining method calls.
2029
2029
**/
2030
2030
p.rotate = function(angle) {
@@ -2045,7 +2045,7 @@ this.createjs = this.createjs||{};
2045
2045
/**
2046
2046
* Applies a skew transformation to the matrix.
2047
2047
* @method skew
2048
- * @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `180/ Math.PI`.
2048
+ * @param {Number} skewX The amount to skew horizontally in degrees. To use a value in radians, multiply it by `Math.PI/180 `.
2049
2049
* @param {Number} skewY The amount to skew vertically in degrees.
2050
2050
* @return {Matrix2D} This matrix. Useful for chaining method calls.
2051
2051
*/
@@ -5868,7 +5868,7 @@ this.createjs = this.createjs||{};
5868
5868
this.radiusTL = radiusTL; this.radiusTR = radiusTR;
5869
5869
this.radiusBR = radiusBR; this.radiusBL = radiusBL;
5870
5870
}).prototype.exec = function(ctx) {
5871
- var max = (w<h?w: h)/2;
5871
+ var max = (this.w<this.h?this.w:this. h)/2;
5872
5872
var mTL=0, mTR=0, mBR=0, mBL=0;
5873
5873
var x = this.x, y = this.y, w = this.w, h = this.h;
5874
5874
var rTL = this.radiusTL, rTR = this.radiusTR, rBR = this.radiusBR, rBL = this.radiusBL;
@@ -11462,7 +11462,7 @@ this.createjs = this.createjs||{};
11462
11462
}
11463
11463
11464
11464
if(!this._directDraw && (!ignoreCache && item.cacheCanvas === null && item.filters !== null && item.filters.length)) {
11465
- var bounds;
11465
+ let bounds;
11466
11466
if (item.bitmapCache === null) {
11467
11467
bounds = item.getBounds();
11468
11468
item.bitmapCache = new createjs.BitmapCache();
@@ -17621,6 +17621,6 @@ this.createjs = this.createjs || {};
17621
17621
* @type String
17622
17622
* @static
17623
17623
**/
17624
- s.buildDate = /*=date*/"Thu, 14 Jun 2018 21:18:20 GMT"; // injected by build process
17624
+ s.buildDate = /*=date*/"Thu, 23 Aug 2018 11:33:29 GMT"; // injected by build process
17625
17625
17626
17626
})();
0 commit comments