大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0059 秒)
Laya_社区(386) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(54) Laya_示例(32) Laya2.0_示例(27)
...方法,如何将一个RGBA图像绘制到画布里面 代码如如下: class Test extends Laya.Sprite{ render(context: laya.renders.RenderContext, x: number, y: number){ context.putImageData(null,100,100); } } 但是 putImageData 方法不存在,要怎么样才能使用putImageData 有何办法?...
来源: Laya_社区 发布时间: 20170216
API DocumentationAll Packages | All Classes | Index | Frames No Frames LayoutBoxProperties | Methods | Events Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public P...
来源: Laya2.0_api 发布时间: 20190513
...n的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animation](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建An...
来源: Laya2.0_文档 发布时间: 20210714
...n的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animation](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建An...
来源: Laya2.0_文档 发布时间: 20210714
... // 程序入口 import Sprite = Laya.Sprite; import Stage = Laya.Stage; class GameMain{ private sp:Sprite; constructor() { Laya.init(600,400); this.sp = new Laya.Sprite(); Laya.stage.addChild(this.sp); var arr:Array<any> = [t...
来源: Laya_社区 发布时间: 20170316
...say.width/2, "#00ffff"); this.circle.blendMode = "destination-out"; } Laya.class(IndexView,"IndexView",_super); IndexView.prototype.loadProgress = function(){ this.box.addChild(this.circle); if(this.angle <= 360){ this.angle+=12; this.draw.graphics.drawPie(this.say.width/2, this.say.height/2, thi...
来源: Laya_社区 发布时间: 20170807
...wNum = 100; this.MapColNum = 100; GameMap.super(this); this.init(); } Laya.class(GameMap, "GameMap", laya.display.Sprite); var _proto = GameMap.prototype; _proto.init = function(){ var boxSp = new laya.display.Sprite(); // boxSp.cacheAsBitmap = true; for(var i = 0; i < this.MapRowNum; i++){ for(v...
来源: Laya_社区 发布时间: 20161008
...n的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animation](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建An...
来源: Laya2.0_文档 发布时间: 20210715
....utils.Handler; import laya.utils.Stat; import laya.utils.TimeLine; public class AirDemo { private var sp1:Sprite; private var sp2:Sprite; private var sp3:Sprite; private var timeLine1:TimeLine; private var timeLine2:TimeLine; private var timeLine3:TimeLine; public function AirDemo() { //初始化...
来源: Laya_社区 发布时间: 20161207
API DocumentationAll Packages | All Classes | Index | Frames No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Propertie...
来源: Laya2.0_api 发布时间: 20190513