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

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

1. laya.utils.Utils [ 100%]

...后的函数。 Utils  fitDOMElementInArea(dom:Object, coordinateSpace:Sprite, x:Number, y:Number, width:Number, height:Number):void[static] 使DOM元素使用舞台内的某块区域内。 Utils  getGID():int[static] 获取一个全局唯一ID。Utils  getGlobalPosAndScale(sprite:Sprite):Rect...

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

2. laya.device.media.Video [ 98%]

...| Events Packagelaya.device.mediaClasspublic class VideoInheritanceVideo Sprite Node EventDispatcher Object Video将视频显示到Canvas上。Video可能不会在所有浏览器有效。 关于Video支持的所有事件参见:http://www.w3school.com.cn/tags/html_ref_audio_video_dom.asp。 注意...

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

3. laya.display.Stage [ 98%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

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

4. laya.ui.ScaleBox [ 96%]

...ackagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties Show Inher...

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

5. laya.ui.List [ 95%]

...vents Packagelaya.uiClasspublic class ListInheritanceList Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender, IItem List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 Public Properties Hide Inherited Public Properties Show Inher...

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

6. laya.ui.Panel [ 95%]

...nts Packagelaya.uiClasspublic class PanelInheritancePanel Box UIComponent Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node ...

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

7. laya.ui.Tree [ 95%]

...vents Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

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

8. laya.display.Sprite [ 94%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames SpriteProperties | Methods | Events Packagelaya.displayClasspublic class SpriteInheritanceSprite Node EventDispatcher ObjectSubclasses AnimationBase, PerfHUD, Scene, Stage, Text Sprite 是基本的显示图形的显示列...

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

9. laya.utils.PerfHUD [ 94%]

...ds | Events Packagelaya.utilsClasspublic class PerfHUDInheritancePerfHUD Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-on...

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

10. laya.ui.VBox [ 93%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

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