大约有 135 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对...
来源: Laya2.0_api 发布时间: 20190513
...pLoaded() this.tMap.createMap("res/TiledMap/orthogonal.json",viewRect,Laya.Handler.create(this,this.onMapLoaded)); } private onMapLoaded():void{ //将原地图放大2倍 this.tMap.scale = 2; } } new GameMain(); ``` 运行效果如图8所示。  (图8) #### 2.2.2 设置地图缩放...
来源: Laya2.0_文档 发布时间: 20210715
...is.tMap.createMap("resources/TiledMap/orthogonal.json", viewRect, new Laya.Handler(this, this.completeHandler)); } //添加地图到Scene2D下 private onLoaded(): void { this.tMap.mapSprite().removeSelf(); this.owner.addChild(this.tMap.mapSprite()); } //地图加载完成的回调 private completeHa...
来源: Laya3.0_文档 发布时间: 20251010
... toolTip : * 鼠标悬停提示。 可以赋值为文本 String 或函数 Handler ,用来实现自定义样式的鼠标提示和参数携带等。 UIComponent top : Number 从组件顶边到其内容区域顶边之间的垂直距离(以像素为单位)。 UIComponent transform : Matrix 对...
来源: Laya2.0_api 发布时间: 20190513
...类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void[static] 加载网格模板。 Sprite3D off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String ...
来源: Laya2.0_api 发布时间: 20190513
...ex : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾...
来源: laya_api 发布时间: 20170929
...垂直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才...
来源: laya_api 发布时间: 20170929
...ex : int 表示当前选择的项索引。默认值为-1。 UIGroup selectHandler : Handler 改变 Group 的选择项时执行的处理器,(默认返回参数: 项索引(index:int))。 UIGroup selection : ISelect 获取或设置当前选择的项对象。 UIGroup skewX : Number水平倾...
来源: Laya2.0_api 发布时间: 20190513
...垂直方向中心线的距离(以像素为单位)。 Component changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar comXml : Object XML 数据。 Component customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才...
来源: laya_api 发布时间: 20170929
...直方向中心线的距离(以像素为单位)。 UIComponent changeHandler : Handler滚动变化时回调,回传value参数。ScrollBar customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite...
来源: Laya2.0_api 发布时间: 20190513