大约有 339 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
...心点方式。但是锚点方式只能对UI组件设置轴心点,对于Graphics组件以及Sprite等2D基础组件的轴心点只能通过设置`pivotX与pivotY`的方式实现。* #### 4.2 修改倾斜角度 skewX、skewY是以轴心点为中心进行水平、垂直角度倾斜,修改属性值...
来源: Laya2.0_文档 发布时间: 20210715
...心点方式。但是锚点方式只能对UI组件设置轴心点,对于Graphics组件以及Sprite等2D基础组件的轴心点只能通过设置`pivotX与pivotY`的方式实现。* #### 4.2 修改倾斜角度 skewX、skewY是以轴心点为中心进行水平、垂直角度倾斜,修改属性值...
来源: Laya2.0_文档 发布时间: 20210714
...ge的全局Y轴缩放值(会叠加父亲节点的缩放值)。 Sprite graphics : Graphics绘图对象。封装了绘制位图和矢量图的接口,Sprite所有的绘图操作都通过Graphics来实现的。Sprite gray : Boolean 是否变灰。UIComponent height : Number[override] 表示显...
来源: Laya2.0_api 发布时间: 20190513
...re = Laya.loader.getRes("comp/comp.png"); var sp:Sprite = new Sprite(); sp.graphics.drawTexture(img); Laya.stage.addChild(sp); })); Laya.loader.load("res/atlas/test.atlas", Handler.create(this, function():void { var img:Texture = Laya.loader.getRes("test/test.png"); var sp:Sprite = new Sprite(); sp....
来源: Laya2.0_文档 发布时间: 20210714
...0; sp.y = 100; var texture = Laya.loader.getRes('player/chara_01.png'); sp.graphics.drawTexture(texture, 0, 0, 96, 96); Laya.stage.addChild(sp); console.log(texture); } 这里大家可能有疑问 为什么路径地址是”player/chara_01.png” 这里我简单解释一下: 首先呢 我们是把...
来源: Laya_社区 发布时间: 20160801
...Laya.stage.bgColor是无法实现混合模式的。动图10中采用的是Graphics的矩形。*
来源: Laya2.0_文档 发布时间: 20210714
...Laya.stage.bgColor是无法实现混合模式的。动图10中采用的是Graphics的矩形。*
来源: Laya2.0_文档 发布时间: 20210714
...Laya.stage.bgColor是无法实现混合模式的。动图10中采用的是Graphics的矩形。*
来源: Laya2.0_文档 发布时间: 20210715
...的需求适当调整,如果内容不变可以不用设置成true sprite.graphics.drawTexture(texture, 0, 0, texture.width, texture.height); Laya.stage.addChild(sprite); }); 2018-11-23 添加评论 已悬赏5元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20181123
...aya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRatio, top*pixelRatio, width*pixelRatio,height*pixelRatio); 这样在安卓上跑好卡啊 2018-05-07 0 0 分享 微博 QZONE 微信 yung 赞同来自: 关于开放域,微信将...
来源: Laya_社区 发布时间: 20180426