大约有 975 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0066 秒)
Laya_社区(599) Laya2.0_文档(80) Laya3.0_api(67) Laya2.0_api(60) laya_api(56) Laya2.0_示例(41) Laya_示例(37) Laya3.0_文档(35)
...素 骨骼动画播放完后的回调时间 TypeScript下HttpRequest发送Post请求有Bug? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 1.7.20beta有bug,帧属性面板打不开 Text类中竟然没有pos函数的api~ ...
来源: Laya_社区 发布时间: 20170809
...htmlCanvas);//使用htmlCanvas创建Texture * var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 * sp.graphics.drawTexture(texture);//把截图绘制到精灵上 * Laya.stage.addChild(sp);//把精灵显示到舞台 * * <p>也可以获取原始图片数据,分享...
来源: Laya_社区 发布时间: 20180826
...值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).sca...
来源: Laya2.0_api 发布时间: 20190513
... this.label.color = "#7CFC00"; this.label.pos(500, 400); this.label.width = 300; this.label.align = "center"; // this.label.stroke = 1; this.label.strokeColor = "#000000"; this.label.zOrder=9980 ...
来源: Laya_社区 发布时间: 20190514
...aya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, this.say.width/2+9,0,this.angle, "#ffffff"); this.circle = new Spr...
来源: Laya_社区 发布时间: 20170807
...,这个详情可以参考API) 换一种理解思路大概就是:pos()调整的x,y相当于用pading去调整元素位置,而pivot()相当于用margin去调整元素位置 不造底层实现具体是什么样子的,这仅仅是个人理解。 2018-08-13 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180810
...值为Sprite对象本身,所以可以使用如下语法:spr.pivot(...).pos(50, 100); Sprite play():void 开始播放视频。 Video pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以...
来源: Laya2.0_api 发布时间: 20190513
...ntent) { var cacheBox = new Box(); cacheBox.cacheAsBitmap = true; cacheBox.pos((this._isVertical ? 0 : startY) * cellWidth, (this._isVertical ? startY : 0) * cellHeight); this._content.addChild(cacheBox); this._content.optimizeScrollRect = true; box = cacheBox; } else { [b] var arr = []; [/b] for (v...
来源: Laya_社区 发布时间: 20180418
... onMouseMove); ape.mask = this.cMask; } function onMouseMove(){ this.cMask.pos(Laya.stage.mouseX, Laya.stage.mouseY); }; })(); 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: Che...
来源: Laya_社区 发布时间: 20180313
...rDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf render repaint replaceChild runCallLater scale setChildIndex setSelfBounds set_height set_scaleX set_scaleY set_transform set_...
来源: Laya3.0_api 发布时间: 20231102