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

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

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

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

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

924. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 14%]

...vDB start syncer failed, err:'-1101'. 01-06 17:34:41.506 797 1382 I C02b05/ImageSource: CreatePixelMapExtended success, imageId:1736156081504401, desiredSize: (0, 0),imageSize: (192, 192), cost 1489 us 01-06 17:34:41.506 797 1382 I C01719/ffrt: 31958:PushTask:51 push task gid=1535 to qid=13 [Ability...

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

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

926. laya.display.Text [ 13%]

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

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

927. laya.display.Stage [ 13%]

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

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

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

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

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