开发者

know the parameters of the element from his Graphics

开发者 https://www.devze.com 2023-01-26 16:09 出处:网络
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 t

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

精彩评论

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