大约有 1,653 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1154) Laya3.0_api(151) Laya2.0_api(106) laya_api(97) Laya2.0_文档(85) Laya3.0_文档(42) Laya2.0_示例(9) Laya_示例(9)
...:= htmlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args...
来源: laya_api 发布时间: 20170929
...Worker() 该构造函数创建一个 web worker,它能执行位于指定 URL 上的脚本。脚本必须遵循 [同源策略](https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript)。 ##### postMessage(): 向 worker 的内部作用域内传递消息。该方法接收一个单独的...
来源: Laya2.0_文档 发布时间: 20210715
...函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node fromImage(url:String):Sprite[static] 根据图片地址创建一个新的 Sprite 对象用于加载并显示此图片。 Sprite fromParentPoint(point:Point):Point 将父容器坐标系坐标转换到本地坐标系。 Sprite fromStage...
来源: Laya2.0_api 发布时间: 20190513
...:= htmlCanvas.getCanvas();//获取原生的canvas对象 trace(canvas.toDataURL("image/png"));//打印图片base64信息,可以发给服务器或者保存为图片 Sprite event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args...
来源: laya_api 发布时间: 20170422
...Worker() 该构造函数创建一个 web worker,它能执行位于指定 URL 上的脚本。脚本必须遵循 [同源策略](https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript)。 ##### postMessage(): 向 worker 的内部作用域内传递消息。该方法接收一个单独的...
来源: Laya2.0_文档 发布时间: 20210715
... type 输入框类型,共有十三种类型:text、password、email、url、number、range、date、month、week、time、dateime、dateime—local、search。效果等同HTML的input 字符数量限制 maxchars 最大字符数,默认为100000。设置字符数量限制时,小于等于0的...
来源: Laya3.0_文档 发布时间: 20251010
...函数(基于帧率)。功能同Laya.timer.frameOnce()。 Node fromImage(url:String):Sprite[static] 根据图片地址创建一个新的 Sprite 对象用于加载并显示此图片。 Sprite fromParentPoint(point:Point):Point 将父容器坐标系坐标转换到本地坐标系。 Sprite fromStage...
来源: Laya2.0_api 发布时间: 20190513
...le 位置与宽高组成的 一个 Rectangle 对象。 loadImage loadImage(url: string, x?: number, y?: number, width?: number, height?: number, complete?: Function | null): void Inherited from Graphics.loadImage Defined in laya/display/Graphics.ts:443 加载并显示一个图片。 Parameters url: ...
来源: Laya3.0_api 发布时间: 20231115
...。 BaseMaterial cloneTo(destObject:*):void 克隆。 BaseMaterial load(url:String, complete:Handler):void[static] 加载材质。 BaseMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Metho...
来源: Laya2.0_api 发布时间: 20190513
...package:scripts/async.js 12-09 22:04:33.119 12728-12832/? I/LayaBox: loadURL:https://h5.mntgame.com/index.html 12-09 22:04:33.123 12728-12832/? I/LayaBox: setCachePath:/data/user/0/com.shcshy.mahjong//LayaCache//appCache/ found the file in the package:cache/https.__h5.mntgame.com/assetsid.tx...
来源: Laya_社区 发布时间: 20181209