x = _matrix.tx;
y = _matrix.ty;
var rotate:Number = Math.atan(_matrix.b / _matrix.a);
rotation = rotate * 180 / Math.PI;
scaleX = this._matrix.b / Math.sin(rotate);
scaleY = this._matrix.d / Math.cos(rotate);
AS3中DisplayObject属性在Matrix中的计算方式
最新推荐文章于 2019-07-31 02:56:47 发布