大约有 177 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
...on(Event.ERROR,this,errorHandler); 回到方法 成功失败。。 private function openHandler(event:Object = null):void{//正确建立连接; }private function receiveHandler(msg:Object = null):void{///接收到数据触发函数}private function closeHandler(e:Object= null):void{//关闭事件...
来源: Laya_社区 发布时间: 20180514
...Properties Show Inherited Public Properties PropertyDefined By _filter : Function[static] FilterPublic Methods MethodDefined By ColorFilter(mat:Array = null) 创建一个 ColorFilter 实例。 ColorFilter adjustBrightness(brightness:Number):ColorFilter 调整亮度 ColorFilter adjustCol...
来源: Laya2.0_api 发布时间: 20190513
...n toAngle toHexColor toRadian _gid _pi _pi2 Legend Object literal Variable Function Type alias Class Class with type parameter Enumeration Interface Static method
来源: Laya3.0_api 发布时间: 20231115
...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...
来源: Laya2.0_api 发布时间: 20190513
...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...
来源: Laya3.0_api 发布时间: 20231115
...or OttoChen */ public class TestMain { private var txt:Text = null; public function TestMain() { Laya.init(800, 800); txt = new Text(); txt.mouseEnabled = false; txt.overflow = Text.SCROLL; txt.size(Laya.stage.width, Laya.stage.height); txt.pos(10, 10); txt.fontSize = 30; txt.wordWrap = true; txt.co...
来源: Laya_社区 发布时间: 20180227
...e = { type: "application/octet-binary" }; var blobFragment = []; function loadBytes(fragment: ArrayBuffer, onload: any = null): Laya.HTMLImage { var blob; try { blobFragment[0] = fragment; blob = new Blob(blobFragment, blobType); } catch (e) { var win: any = window; win.BlobBuilder = win.B...
来源: Laya_社区 发布时间: 20170502
...均可以设置一个回调 Laya.LoaderManager.prototype["_loadAssets"] = function (arr, complete, progress, type, priority, cache, group) { (priority === void 0) && (priority = 1); (cache === void 0) && (cache = true); var itemCount = arr.length; var loadedCount = 0; var totalSize =...
来源: Laya_社区 发布时间: 20171226
...是nodejs 对于已经utf8转后的应该怎么处理?ws.on('message', function incoming(message) 2016-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 使用output.writeUTFBytes(mes...
来源: Laya_社区 发布时间: 20160801
...的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 }; function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; } return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, default:null}*/ private ta...
来源: Laya_社区 发布时间: 20191029