大约有 413 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0198 秒)
Laya_社区(130) Laya3.0_api(69) Laya2.0_api(64) laya_api(59) Laya2.0_文档(46) Laya3.0_文档(26) Laya_示例(12) Laya2.0_示例(7)
...ee.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [{"type": "Clip", "...
来源: Laya2.0_文档 发布时间: 20210715
...,5,5"; progressBar.changeHandler = new Handler(this, onChange); Laya.stage.addChild(progressBar); Laya.timer.loop(100, this, changeValue); } function changeValue() { if (progressBar.value >= 1) progressBar.value = 0; progressBar.value += 0.05; } function onChange(value) { console.log("进度:" + M...
来源: Laya2.0_文档 发布时间: 20210715
... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...
来源: Laya3.0_api 发布时间: 20231115
...leteHandler():void { var bg:Image = new Image("assets/bg.jpg"); Laya.stage.addChild(bg); }这张图在三星平板上可以完整显示出来,为什么在电脑上显示不完整呢。图分辨率为2560*1600 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20171124
... viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fresh...
来源: Laya3.0_api 发布时间: 20231115
...extInput(text:String) 创建一个新的 TextInput 类实例。 TextInput addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929
...= null, skin:String = null) 创建一个新的 Group 类实例。 UIGroup addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addItem(item:ISelect, autoLayOu...
来源: laya_api 发布时间: 20170929
...wSomething() { sp = new Sprite(); Laya.stage.addChild(sp); //绘制圆角矩形,自定义路径 sp.graphics.drawPath(0, 0, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, ...
来源: Laya_社区 发布时间: 20170711
... Inherited Public Methods Show Inherited Public Methods MethodDefined By addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929
...Defined By Label(text:String) 创建一个新的 Label 实例。 Label addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929