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

大约有 337 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0094 秒)

291. ViewStack属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 40%]

...类组件,没有独立的组件资源规范。本例中直接采用的是image组件资源,在实际的游戏开发中,可以根据实际开发需求使用各种UI组件。 ### 1.3 ViewStack组件的API介绍 ​ ViewStack 组件的API使用请参考 [http://layaair.ldc.layabox.com/api/index.h...

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

292. laya.ui.Button [ 40%]

...未选中状态。 Button  sizeGrid : String 当前实例的位图 AutoImage 实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分隔。 例如:"4,4,4,4,1" Button skewX : Numb...

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

293. laya.ui.HScrollBar_API3.0 [ 40%]

..._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

294. laya.ui.VScrollBar_API3.0 [ 40%]

..._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

295. laya.ui.RadioGroup_API3.0 [ 40%]

...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

296. 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

297. 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

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

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

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

299. 关于这个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

300. 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