大约有 243 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0147 秒)
...Sprite(); _parent.graphics.drawRect(0, 0, 500, 500, '#ff0000'); Laya.stage.addChild(_parent); var _child = new Sprite(); _child.graphics.drawRect(0, 0, 50, 50, '#336699'); _parent.addChild(_child);就像上面那样,我需要在addChild的时候,_child默认在_parant的左下角~按上面的方...
来源: Laya_社区 发布时间: 20170222
... 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 clearTimer(caller:*, method:Funct...
来源: laya_api 发布时间: 20170929
... 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 addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...ble volume width x y zOrder Methods _initialize _processActive _setX _setY addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater canPlayType clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce...
来源: Laya3.0_api 发布时间: 20231115
...lBar(skin:String = null) 创建一个新的 ScrollBar 实例。 ScrollBar addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...efined By Component() 创建一个新的 Component 实例。 Component addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args...
来源: laya_api 发布时间: 20170929
...abels:String = null) 创建一个新的 ComboBox 组件实例。 ComboBox addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加...
来源: Laya2.0_api 发布时间: 20190513
...ethods MethodDefined By Video(width:int = 320, height:int = 240)Video addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node canPlayType(type:int):String ...
来源: laya_api 发布时间: 20170929
...在 Tree 构造函数中设置属性width、height的值都为200。 Tree addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:A...
来源: laya_api 发布时间: 20170929