大约有 403 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
Laya_社区(221) Laya2.0_api(57) laya_api(54) Laya3.0_api(37) Laya2.0_文档(21) Laya3.0_文档(9) Laya_示例(2) Laya2.0_示例(2)
...量矩形,示例代码如下: ```javascript (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; (function() { //初始化舞台 Laya.init(500, 300); drawSomething(); })(); ...
来源: Laya2.0_文档 发布时间: 20210715
...0? 这里说明: http://layaair.ldc.layabox.com ... prite “注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图...
来源: Laya_社区 发布时间: 20181029
...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
...会这样? 项目文件在附件 问题 4 :话说这种功能 应该用Sprite做容器还是用box做容器? 还有就是 VBox 和 HBox 还有 Box 与 Sprite 有什么区别 什么情况适用于那种类型? 附件 : --> myLayaUIDemoTest.rar 2017-08-27 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20170827
...| 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
...s Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box Component Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Pub...
来源: laya_api 发布时间: 20170929
layaAri2d坐标问题 sprite的y轴坐标为什么加正数sprite位置往下移,加负数位置往上移。这颠覆了小学时学的x,y坐标系。实在搞不懂 2019-04-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提...
来源: Laya_社区 发布时间: 20190430
...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...
来源: Laya2.0_api 发布时间: 20190513
...| Events Packagelaya.uiClasspublic class ClipInheritanceClip UIComponent Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖...
来源: Laya2.0_api 发布时间: 20190513
...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...
来源: laya_api 发布时间: 20170929