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

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

1. laya.events.MouseManager [ 100%]

...nager  _event : EventMouseManager  mouseDownTime : Number = 0 鼠标按下的时间。单位为毫秒。MouseManager  mouseMoveAccuracy : Number = 2 鼠标移动精度。MouseManager  mouseX : Number = 0 canvas 上的鼠标X坐标。MouseManager  mouseY : Number = 0 canvas 上的鼠标Y坐...

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

2. laya.utils.Utils [ 98%]

...measureText(txt:String, font:String):*[static] 测量文本在指定样式下的宽度、高度信息。 Utils  parseInt(str:String, radix:int = 0):int[static] 解析一个字符串,并返回一个整数。和JS原生的parseInt不同:如果str为空或者非数字,原生返回NaN,这里...

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

3. laya.ui.Button [ 88%]

...否为粗体字。 Button  labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button  labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button  labelPadding : String 表示按钮文本...

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

4. laya.events.Event [ 84%]

...键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event  nativeEvent : * 原生浏览器事件。Event  shiftKey : Boolean[read-only] 表示 Shift 键是处于活动状态 (true) 还是非活动状态 (false)。 Event  stageX : Number[read-only] 鼠...

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

5. laya.ui.UIEvent [ 82%]

...键盘 (KeyLocation.STANDARD) 与数字键盘 (KeyLocation.NUM_PAD) 上按下的数字键。 Event nativeEvent : * 原生浏览器事件。Event shiftKey : Boolean[read-only] 表示 Shift 键是处于活动状态 (true) 还是非活动状态 (false)。 Event stageX : Number[read-only] 鼠标在 S...

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

6. laya.display.Text [ 79%]

...dex:int, out:Point = null):Point 返回字符在本类实例的父坐标系下的坐标。 Text getChildAt(index:int):Node 根据子节点的索引位置,获取子节点对象。 Node getChildByName(name:String):Node 根据子节点的名字,获取子节点对象。 Node getChildIndex(node:No...

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

7. laya.d3.core.Camera [ 79%]

...e:Vector3, out:Vector3):Boolean 转换2D屏幕坐标系统到3D正交投影下的坐标系统,注:只有正交模型下有效。 Camera  destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等...

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

8. laya.ui.CheckBox [ 78%]

...是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标...

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

9. laya.ui.Radio [ 78%]

...是否为粗体字。 Button labelColors : String 表示按钮各个状态下的文本颜色。 格式: "upColor,overColor,downColor,disableColor"。 Button labelFont : String 表示按钮文本标签的字体名称,以字符串形式表示。 Button labelPadding : String 表示按钮文本标...

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

10. laya.ui.UIGroup [ 76%]

...ache方法手动刷新。Sprite  strokeColors : String 表示各个状态下的描边颜色。 UIGroup tag : * 对象的标签。 UIComponent texture : Texture 设置一个Texture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 等同于graphics.clear();graphi...

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