大约有 1,651 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0057 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(67) Laya_示例(58) Laya2.0_示例(54)
...回收到对象池 DrawPathCmdPublic Constants ConstantDefined By ID : String = DrawPath[static] DrawPathCmdProperty Detailbrushpropertypublic var brush:Object (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 pathsproperty public var paths:Array 路径集合,路径支持...
来源: Laya2.0_api 发布时间: 20190513
...修改或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } ``` 另外,从网络中动态加载读取,没...
来源: Laya2.0_文档 发布时间: 20210715
...调用时间吗? 希望给spine增加一个showSlotSkinByName(slotName:String, name:String)方法 HttpRequest 调用webserivece 问题状态 最新活动: 2019-05-31 10:59 浏览: 856 关注: 1 人
来源: Laya_社区 发布时间: 20190531
...tEase effectScale tweenTime Accessors target Properties backEase backEase: string Defined in laya/effect/ButtonEffect.ts:35 backEase prop {name:backEase,type:ease, tips:"恢复缓动类型"} effectEase effectEase: string Defined in laya/effect/ButtonEffect.ts:30 effectEase prop {name:effectEase,type...
来源: Laya3.0_api 发布时间: 20231115
...declare class PomeloClient { init(params:any, cb?:Function); request(route:string, msg?:any, cb?:Function); notify(route:string, params:any); on(event:string, cb:Function); off(event:string, cb:Function); disconnect(); } 我也是初学,以上一点摸坑的经验,希望跟大家交流交流,...
来源: Laya_社区 发布时间: 20180109
... private mDecorate:Decorate;//装饰器 private mHost: string; private mPort: number; private mConnected: boolean; /** 开启*/ public static OPEN: string = "open"; /** 关闭*/ public static CLOSE: string = ...
来源: Laya_社区 发布时间: 20161109
...间久了内存就会升高,用谷歌浏览器检测,每秒都会多好多String类型的对象,请问这种内存升高是对Label框频繁赋值导致的吗?这种频繁使用Label框的情况用什么方法比较好呢? 2018-03-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180324
...dsSeperator: declare global { interface Number { thousandsSeperator(): String; } } Number.prototype.thousandsSeperator = function(): string { return Number(this).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); } export {}; 我用同样的方法尝试了,但是行不通。 请问我的ts...
来源: Laya_社区 发布时间: 20180622
...arser() Defined in laya/html/HtmlParser.ts:14 Methods parse parse(aSource: string, style: TextStyle, out: Array<HtmlElement>, options?: HtmlParseOptions): void Defined in laya/html/HtmlParser.ts:33 Parameters aSource: string style: TextStyle out: Array<HtmlElement> Optional options: Html...
来源: Laya3.0_api 发布时间: 20231115
...系如何调整? 希望给spine增加一个showSlotSkinByName(slotName:String, name:String)方法 问题状态 最新活动: 2017-03-16 10:55 浏览: 906 关注: 2 人
来源: Laya_社区 发布时间: 20170316