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

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

131. 用Geolocation获取地理位置信息(JavaScript-LayaAir基础篇(JS)-硬件设备相关) [ 74%]

...olocation)查看有哪些浏览器版本支持Geolocation。显示Supported表示支持。 ![1](img/1.png) ​ Geolocation返回的GeolocationInfo,包含以下信息: - `latitude` —— 维度(度)。 - `longitude` —— 经度(度)。 - `altitude` —— 相对于海平面的海拔高...

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

132. laya.display.Sprite [ 74%]

...ropertyDefined By  alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化...

来源: laya_api 发布时间: 20170929

133. laya.ui.UIComponent [ 74%]

...否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite  anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent  anchorY : NumberY锚点,值为0-1,设置anch...

来源: Laya2.0_api 发布时间: 20190513

134. laya.ui.Box [ 74%]

...否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY...

来源: Laya2.0_api 发布时间: 20190513

135. 显示文本组件 · LayaAir3.0文档 · LAYABOX [ 74%]

...adding 文本边距,以像素为单位,由4个整数值组成。“U”表示距上边框的距离、”R“表示距右边框的距离、”D“表示距下边框的距离、”L”表示距左边框的距离 underlinecolor 下划线颜色,可以直接输入颜色值,例如:#ffffff,也...

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

136. laya.ui.Panel [ 74%]

...PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。...

来源: laya_api 发布时间: 20170929

137. 用Geolocation获取地理位置信息(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 74%]

...olocation)查看有哪些浏览器版本支持Geolocation。显示Supported表示支持。 ![1](img/1.png) ​ Geolocation返回的GeolocationInfo,包含以下信息: - `latitude` —— 维度(度)。 - `longitude` —— 经度(度)。 - `altitude` —— 相对于海平面的海拔高...

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

138. laya.ui.TipManager [ 74%]

...PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。...

来源: laya_api 发布时间: 20170929

139. 网络通信 · LayaAir3.0文档 · LAYABOX [ 74%]

... status unsigned short 该请求的响应状态码 (例如,状态码200 表示一个成功的请求).只读 statusText DOMString 该请求的响应状态信息,包含一个状态码和原因短语 (例如 “200 OK“)。 只读 upload XMLHttpRequestUpload 可以在 upload 上添加一个事件...

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

140. laya.ui.TipManager [ 74%]

...否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY...

来源: Laya2.0_api 发布时间: 20190513