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

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

131. 1.7.11 Sprite.loadimage [ 75%]

LayaAir引擎 1.7.11 Sprite.loadimage 以下测试使用的是layaide 1.7.11 类库是也1.7.11  测试谷歌 浏览器版本 62.0.3202.94(正式版本) (64 位)  应该是目前最新的了 一 关于Sprite 的 width height 1. sp.loadImage('xxx.png',0,0,0,0,callback)调用方式 能否...

来源: Laya_社区 发布时间: 20171121

132. laya.ui.ScaleBox [ 75%]

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

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

133. 鼠标交互-Hold [ 75%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Texture = Laya.Texture; var Browser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; con...

来源: Laya_示例 发布时间: 20240930

134. laya.html.dom.HTMLDivElement [ 75%]

...kagelaya.html.domClasspublic class HTMLDivElementInheritanceHTMLDivElement Sprite Node EventDispatcher ObjectSubclasses HTMLIframeElement HTML图文类,用于显示html内容 支持的标签如下: a:链接标签,点击后会派发"link"事件 比如:a div:div容器标签,比如: span:行内...

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

135. laya.map.GridSprite [ 75%]

...cumentationAll Packages | All Classes | Index | Frames No Frames GridSpriteProperties | Methods | Events Packagelaya.mapClasspublic class GridSpriteInheritanceGridSprite Sprite Node EventDispatcher Object 地图的每层都会分块渲染处理 本类就是地图的块数据 Public Properti...

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

136. 缓动-时间线 [ 75%]

...种开发语言、LayaAirIDE让项目开发更高效。(function () { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Keyboard = Laya.Keyboard; var TimeLine = Laya.TimeLine; var WebGL = Laya.WebGL; var target; var timeLine = new TimeLine(); (function () { // 不支持We...

来源: Laya_示例 发布时间: 20240930

137. 这种进度条怎么实现? [ 75%]

...18-08-17 0 0 分享 微博 QZONE 微信 Barry Allen 赞同来自:  import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() thi...

来源: Laya_社区 发布时间: 20180123

138. 计时器-延迟执行 [ 75%]

...n(Event.CLICK, this, this.onDecreaseAlpha2); } createButton(label) { const Sprite = Laya.Sprite; let w = 300, h = 60; let button = new Sprite(); Laya.stage.addChild(button); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.size(w, h); button.graphics.fillText(label, w / 2, 17, "20px simHei", ...

来源: Laya2.0_示例 发布时间: 20240930

139. laya.ui.Box [ 75%]

...s | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inherited Publi...

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

140. laya.ani.bone.Skeleton [ 75%]

... Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number...

来源: laya_api 发布时间: 20170929