• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 331 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0074 秒)

291. laya.ui.FontClip_API3.0 [ 39%]

..._width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot play pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render rep...

来源: Laya3.0_api 发布时间: 20231115

292. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 38%]

...tlas/comp.atlas"], Laya.Handler.create(this, () => { this.aaa.skin = "comp/image.png"; })); ``` 通过示例代码,我们可以看到,图集的纹理压缩的代码使用是无感的,和普通的图集使用方式完全相同。 ## 本文赞赏 如果您觉得本文对您有帮助,欢迎扫...

来源: Laya2.0_文档 发布时间: 20210714

293. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 38%]

...+ ''; var DOMURL = window.URL || window.webkitURL || window; var img = new Image(); var svg = new Blob([data], {type: 'image/svg+xml'}); var url = DOMURL.createObjectURL(svg); img.src = url; img.style.position ="absolute"; img.style.zIndex = 99999 document.body.appendChild(img); ``` 怎么运行呢...

来源: Laya2.0_文档 发布时间: 20210715

294. 关于这个timer我的跑的快在 自己出完牌之后没有人比我的牌大了。可是我的牌还是出不去 [ 38%]

...r j = this.aaa.playerNameList[i].playerhandpoker.length - 1; var img: Laya.Image = this.aaa.playerNameList[i].playerhandpoker[j].img; img.skin = this.aaa.playerNameList[i].playerhandpoker[j].PokerDre; img.width = 76; img.height = 110; img.pos(200 + i * 35, 230); Laya.stage.addChild(img); this.recive...

来源: Laya_社区 发布时间: 20180626

295. laya.ui.Clip_API3.0 [ 38%]

...ght , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其他UI组件均不支持异步加载。 example 以下示例代码,创建了一个 Clip 实例。 package { import laya.ui.C...

来源: Laya3.0_api 发布时间: 20231115

296. laya.ui.RadioGroup [ 37%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Arra...

来源: laya_api 发布时间: 20170929

297. laya.ui.RadioGroup [ 37%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠...

来源: Laya2.0_api 发布时间: 20190513

298. laya.ui.Tab_API3.0 [ 37%]

...balToLocal hasHideFlag hasListener hitTestPoint initItems isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint ...

来源: Laya3.0_api 发布时间: 20231115

299. laya.ui.ColorPicker [ 36%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Arra...

来源: laya_api 发布时间: 20170929

300. laya.ui.TextArea_API3.0 [ 36%]

..._width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint ...

来源: Laya3.0_api 发布时间: 20231115