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

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

901. laya.display.Animation [ 14%]

...的播放实质就是定时切换Graphics对象。 使用set source、loadImages(...)、loadAtlas(...)、loadAnimation(...)方法可以创建动画模版。使用play(...)可以播放指定动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined ...

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

902. laya.display.Sprite_API3.0 [ 14%]

...ew Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sprite 对象相对于父容器的水平方向坐标值。 sprite.y = 200;//设置 sprite 对象相对于父容器的垂直方向坐标值。 spri...

来源: Laya3.0_api 发布时间: 20231115

903. laya.display.Stage [ 14%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher  exitFullscreen():void退出全屏模式Stage frameLoop...

来源: laya_api 发布时间: 20170929

904. laya.display.Input [ 14%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Arra...

来源: laya_api 发布时间: 20170929

905. laya.display.Text [ 14%]

...mlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Arra...

来源: laya_api 发布时间: 20170929

906. laya.display.Text [ 13%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  textWidth : Number[read-only] 表示文本的宽度,以像素为单位。 Text transform : Matrix 对象的矩...

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

907. laya.display.Stage [ 13%]

...绘制,则会被清除掉)。 等同于graphics.clear();graphics.drawImage(),但性能更高 还可以赋值一个图片地址,则会自动加载图片,然后显示 Sprite  transform : Matrix[override] 对象的矩阵信息。通过设置矩阵可以实现节点旋转,缩放,位移...

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

908. laya.html.dom.HTMLIframeElement_API3.0 [ 9%]

..._width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSel...

来源: Laya3.0_api 发布时间: 20231102

909. laya.html.dom.HTMLDivElement_API3.0 [ 9%]

..._width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSel...

来源: Laya3.0_api 发布时间: 20231102

910. laya.physics.PhysicsDebugDraw_API3.0 [ 8%]

..._width globalToLocal hasHideFlag hasListener hitTestPoint isAncestorOf loadImage localToGlobal off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf repaint replace...

来源: Laya3.0_api 发布时间: 20231115