聊聊 DisplayObject 的x/y/regX/regY/rotation/scale/skew 属性
首先要指出的是:DisplayObject实例的属性与graphics.draw*(x,y,...)的参数没有关系。在原生的Canvas中有的概念,例如:ctx.rect(x,y,width,height)。于是我天真地以为DisplayObject的应该跟原生API是一一对应的吧,但是结果给了我一个巴掌,在Graphics与DisplayObject的关系一文中有提及。后来我认真地思考了一下,还