[]使用graphsics.drawTexture画出来的图片与使用button创建同样宽高图形竟然不重合??
我使用一个Button创建的按钮,和使用
this.sprite_show = new Laya.Sprite();
this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height);
画出来的两个对象,sprite_show的图形竟然被缩小了一点点。。。都是同样的宽高
this.sprite_show = new Laya.Sprite();
this.sprite_show.graphics.drawTexture(Laya.loader.getRes(this.resStr), 0, 0, this.width, this.height);
画出来的两个对象,sprite_show的图形竟然被缩小了一点点。。。都是同样的宽高
没有找到相关结果
已邀请:
要回复问题请先登录
2 个回复
lvfy
赞同来自:
自己的Button用了九宫格。。。所以出现这个问题....
Monica - 知识达人
赞同来自: