how do you know the par开发者_运维问答ameters (eg height and width) of the element, if the constructor is passed only his Graphics?
you can't inspect the width/height of the Graphics object. You'll to be passed the DisplayObject instance that contains the .graphics instance.
加载中,请稍侯......
精彩评论