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

大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0059 秒)

511. Test类继承 Laya.Sprite 然后重写render方法,如何将一个RGBA图像绘制到画布里面 [ 55%]

...方法,如何将一个RGBA图像绘制到画布里面 代码如如下: class Test extends Laya.Sprite{ render(context: laya.renders.RenderContext, x: number, y: number){ context.putImageData(null,100,100); } } 但是 putImageData 方法不存在,要怎么样才能使用putImageData 有何办法?...

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

512. laya.ui.LayoutBox [ 55%]

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

513. Animation属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 55%]

...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

514. Animation属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 55%]

...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

515. 关于graphics._saveToCmd的问题 [ 54%]

...  // 程序入口 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

516. 关于环形进度条,进度不能重置问题 [ 54%]

...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

517. 最新版本绘制100x100个sprite ios不能显示 [ 54%]

...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

518. Animation属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 54%]

...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

519. 发现TimeLine的一些问题,像是BUG [ 54%]

....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

520. laya.ui.ProgressBar [ 54%]

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