大约有 355 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)
...ler(this, onChangeColor,[colorPicket]);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } private function onChangeColor(colorPicket:ColorPicker):void { trace("当前选择的颜色: " + colorPicket.selectedCol...
来源: Laya3.0_api 发布时间: 20231115
...width,sp.height); })); Laya.stage.addChild(sp); loadImage在加载完成的回调函数触发之后才可以正确获取宽高。 直接调用size设置: Laya.loader.load("res/apes/monkey2.png",Laya.Handler.create(this,function() { var texture=Laya.loader.getRes("res/apes/monkey2.png"); var sp=new...
来源: Laya3.0_文档 发布时间: 20231008
...ct修改 Dialog closeHandler : Handler 对话框被关闭时会触发的回调函数处理器。 回调函数参数为用户点击的按钮名字name:String。 Dialog comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开...
来源: laya_api 发布时间: 20170929
...angeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,...
来源: Laya3.0_api 发布时间: 20231115
...angeHandler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置属性 value属性值:Number 。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 Parameters node: Node 指定的 Node...
来源: Laya3.0_api 发布时间: 20231115