大约有 242 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
Laya3.0_api(85) Laya_社区(71) Laya2.0_api(21) laya_api(20) Laya_示例(14) Laya3.0_文档(13) Laya2.0_示例(9) Laya2.0_文档(9)
...汗! 代码如下: //自定义路径 var path:Array<any> = [ ["moveTo", 0, 0], ["arcTo", 100, 0, 100, 1, 10], ["arcTo", 100, 50, 99, 50, 10], ["arcTo", 0, 50, 0, 4...
来源: Laya_社区 发布时间: 20170320
...nly] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩放值)。 Sprite globalScaleY : Number[read-only] 获...
来源: laya_api 发布时间: 20170929
...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") a...
来源: Laya_社区 发布时间: 20180724
...GL; export class UI_ScrollBar { /***水平滚动条资源**/ private skins:Array=["res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****水平滚动条****/ private hScrollBar:HScrollBar; constr...
来源: Laya2.0_文档 发布时间: 20210715
...GL; export class UI_ScrollBar { /***垂直滚动条资源**/ private skins:Array=["res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptText:Text; /****垂直滚动条****/ private vScrollBar:VScrollBar; constr...
来源: Laya2.0_文档 发布时间: 20210715
...译器的问题。。麻烦解答一下 public function addAssets(assets:Array,loadedFun:Function = null):void { var path = formatString("assets/otherAssets/" + file, STLConstant.scale); } package starling.utils { // TODO: add number formatting options /** Formats a String in .Net-style, with curly ...
来源: Laya_社区 发布时间: 20170525
...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...
来源: Laya_社区 发布时间: 20170215
... private getActiveEffectOrder(): number { const activeEffect = Array.from(this.effectChannels.values()) .find(channel => channel && !channel.isStopped ); if (activeEffect) { const active ...
来源: Laya_社区 发布时间: 20250930
...anchorY值最终通过pivotY值来改变节点轴心点。UIComponent array : Array 列表数据源,只包含当前可视节点数据。 Tree autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变...
来源: Laya2.0_api 发布时间: 20190513
....scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; var res: Array = [ "../../res/ui/vscroll.png", "../../res/ui/vscroll$bar.png", "../../res/ui/vscroll$down.png", "../../res/ui/vscroll$up.png", "../../res/ui/tree/clip_selectBox.png", "../../res/ui/tree/clip_tree_folder.png", "../../re...
来源: Laya_示例 发布时间: 20260818