大约有 679 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(269) Laya_社区(214) Laya2.0_api(108) laya_api(59) Laya2.0_文档(20) Laya3.0_文档(8) Laya2.0_示例(1)
...;} this._padding = v; if(this.text){ this.createFnt(this.text); } } public get padding(): number{ return this._padding; } /** * 文本内容 */ public set text(v: string) { if (v === this._text) { return; } this._text = v; this.createFnt(v); } public get text(): string { return this._text; } /** * ...
来源: Laya_社区 发布时间: 20180302
...n laya/resource/Resource.ts:19 是否开启debug模式 Accessors cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number destroyed get destroyed(): boolean Inherited from Resource.destroyed Defined in laya/resource/R...
来源: Laya3.0_api 发布时间: 20231115
...ent(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getLoadedResourceByIndex(index:int):Resource[static] 通过索引返回本类型已载入资源。 Resource getLoadedResourcesCount():int[static] 本类型已载入资源个数。 Resource hasListener(type:String):Boolean...
来源: laya_api 发布时间: 20170422
...th container document height pixelRatio width window Methods createElement getElementById getQueryString now removeElement Properties Static PLATFORM_ANDROID PLATFORM_ANDROID: number = 1 Defined in laya/utils/Browser.ts:71 Static PLATFORM_IOS PLATFORM_IOS: number = 2 Defined in laya/utils/Browser.ts...
来源: Laya3.0_api 发布时间: 20231115
...六步:设置提交变量sine的模式(POST:用于大量数据的提交,GET:用于少量数据的提交)默认GET, urlRequest.method=URLRequestMethod.GET; //开始请求加载 urlLoader.load(urlRequest); //请求加载过程中触发的6个事件 urlLoader.addEventListener(Event.OPEN,openHandl...
来源: Laya_社区 发布时间: 20151217
...n type Methods _setScale addChildShape bindRigidBody clone cloneTo destroy getChildShapeCount removeChildShape updateLocalTransformations Constructors constructor new CannonCompoundColliderShape(): CannonCompoundColliderShape Overrides CannonColliderShape.constructor Defined in laya/d3/physicsCannon...
来源: Laya3.0_api 发布时间: 20231102
...) 根据指定的类型,创建一个 HTMLCanvas 实例。 HTMLCanvas _getSource():*[override] HTMLCanvas clear():void 清空画布内容。 HTMLCanvas destroy():void[override] 销毁。 HTMLCanvas getContext(contextID:String, other:* = null):Context 获取 Canvas 渲染上下文。 HTM...
来源: Laya2.0_api 发布时间: 20190513
...mber [read-only] 获取长度。 Implementation public function get length():Numberorientationproperty orientation:int [read-only] 获取方向。 Implementation public function get orientation():intradiusproperty radius:Number [read-only] 获取半径。 Implementation ...
来源: Laya2.0_api 发布时间: 20190513
...据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间...
来源: Laya2.0_api 发布时间: 20190513
...e; Stage; var a:Dictionary = new Dictionary(); a.set('test','aa'); trace(a.get('test')); } } }生成的分包test.js(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; var Stage=laya.display.Stage,TestA...
来源: Laya_社区 发布时间: 20170322