大约有 318 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0041 秒)
Laya_社区(202) Laya3.0_api(66) Laya2.0_文档(13) Laya3.0_文档(12) Laya2.0_示例(9) Laya_示例(8) laya_api(4) Laya2.0_api(4)
...(tipContainer); } else { var step = guideSteps[guideStep++]; hitArea.unHit.clear(); hitArea.unHit.drawCircle(step.x, step.y, step.radius, "#000000"); interactionArea.graphics.clear(); interactionArea.graphics.drawCircle(step.x, step.y, step.radius, "#000000"); tipContainer.graphics.clear(); tipConta...
来源: Laya_示例 发布时间: 20250312
显示对象的遮罩调用clear后还是能看到显示对象 给某个显示对象img动态创建一个sprite遮罩imgmk,点击某个按钮1时对imgmk进行绘图从而能够显示出img对象,再点击按钮2时调用imgmk.graphics.clear(),结果还是能看到img对象 附件 : --> soundD...
来源: Laya_社区 发布时间: 20200416
...g.loadImage(this.plane1); Laya.stage.addChild(this.img); this.img.graphics.clear(); this.img.loadImage(this.plane2); Laya.stage.addChild(this.img) } } new Main(); 出来的结果是两张图合并到了一起, 于是我再尝试 constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this...
来源: Laya_社区 发布时间: 20180406
...度不能重置问题 我无法把画面重新弄到进度为0的时候,clear方法没用 附件 : --> test2.zip 2017-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: gls_laybox var ...
来源: Laya_社区 发布时间: 20170807
Animation 先clear当前的动画, 然后从浏览器缓存 加载下一个动画会闪一下,这个怎么解决? 2018-05-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: 闪一...
来源: Laya_社区 发布时间: 20180507
...showFight(num: number): void { if (this._sprFight) this._sprFight.graphics.clear(); this._sprFight = bigao.utils.TextrueUtils.getNumberByUrl(resourcesCenter.ResourcesPathStr.FIGHT_NUMBER_PATH_PNG, num.toString()); this._sprFight.x = 600; this._sprFight.y = 150; this.addChild(this._sprFight); } dispo...
来源: Laya_社区 发布时间: 20170916
...进度条的效果 this.mMask.graphics.clear(); Laya.timer.loop(10,this,this.showMask); public showMask():void { this.mMask.graphics.clear(); this.mMask.graphic...
来源: Laya_社区 发布时间: 20171101
... Hierarchy Tween Index Properties repeat update Accessors progress Methods clear complete from pause recover restart resume setStartTime to clear clearAll from to Properties repeat repeat: number = 1 Defined in laya/utils/Tween.ts:38 重播次数,如果repeat=0,则表示无限循环播放 update...
来源: Laya3.0_api 发布时间: 20231115
...oop(10,this,refresh); } private function refresh():void { IconSpr.graphics.clear(); iconSpr.graphics.clear(); if(htmlCanvas) htmlCanvas.clear(); htmlCanvas = iconSpr.drawToCanvas(iconSpr.width,iconSpr.height,0,0); if(!texture) texture = new Texture(htmlCanvas); else { texture.destroy(true); texture ...
来源: Laya_社区 发布时间: 20180113
...; var post = pfUtils.postMessage; self.clear(); post('exit', { view: self.$viewName }); // post('pause'); } /** * 设置界面名称 */ public set viewName(value: s...
来源: Laya_社区 发布时间: 20181114