• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 261 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)

221. 使用百度地图显示当前位置(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 44%]

...坐标转换接口   private var mapDiv:*; // 包含百度地图的div容器 ``` ### 二、接着是构造函数: ```java public function WatchPosition() { Laya.init(1, 1);   init();   // 使用高精度位置 Geolocation.enableHighAccuracy = true; Geolocation.watchPosition(Handler.cr...

来源: Laya2.0_文档 发布时间: 20210715

222. 使用百度地图 · LayaAir3.0文档 · LAYABOX [ 43%]

...: any;// 坐标转换接口 private mapDiv: any;// 包含百度地图的div容器 二、接着是构造函数: constructor() { Laya.init(1, 1); this.init(); // 使用高精度位置 Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosi...

来源: Laya3.0_文档 发布时间: 20230727

223. 使用百度地图显示当前位置(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 43%]

...; // 坐标转换接口   private mapDiv; // 包含百度地图的div容器 ``` ### 二、接着是构造函数: ```typescript class WatchPosition { constructor() { Laya.init(1, 1); this.init(); // 使用高精度位置 Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosit...

来源: Laya2.0_文档 发布时间: 20210714

224. laya.ui.ScaleBox_API3.0 [ 42%]

...ted Menu Globals "laya/ui/ScaleBox" ScaleBox Class ScaleBox 自适应缩放容器容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Hierarchy Box ScaleBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url a...

来源: Laya3.0_api 发布时间: 20231115

225. laya.ui.Panel_API3.0 [ 42%]

...ported Menu Globals "laya/ui/Panel" Panel Class Panel Panel 是一个面板容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activ...

来源: Laya3.0_api 发布时间: 20231115

226. laya.display.Scene_API3.0 [ 41%]

...et centerX(value: number): void Defined in laya/display/Scene.ts:292 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Defined in laya/display/Scene.ts:296 在父容器中,此对象的水平方向中轴线与...

来源: Laya3.0_api 发布时间: 20231115

227. laya.ui.Box_API3.0 [ 41%]

...ly exported Menu Globals "laya/ui/Box" Box Class Box Box 类是一个控件容器类。 Hierarchy UIComponent Box List LayoutBox Panel UIGroup ScaleBox Tree ViewStack Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag dr...

来源: Laya3.0_api 发布时间: 20231115

228. laya.ui.UIComponent_API3.0 [ 41%]

...t centerX(value: number): void Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Defined in laya/ui/UIComponent.ts:230 在父容器中,此对象的水平方向中轴线与...

来源: Laya3.0_api 发布时间: 20231115

229. laya.ui.View_API3.0 [ 41%]

...id Inherited from Scene.centerX Defined in laya/display/Scene.ts:292 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from Scene.centerX Defined in laya/display/Scene.ts:296 在父容器中,此对...

来源: Laya3.0_api 发布时间: 20231115

230. laya.ui.LayoutBox_API3.0 [ 41%]

...als "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...

来源: Laya3.0_api 发布时间: 20231115