开发者

know the parameters of the element from his Graphics

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜