大约有 712 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0052 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
...x = 200; Laya.Config.isAntialias = true; Laya.Laya.init(Laya.Browser.clientWidth, Laya.Browser.clientHeight, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable({ gravity: 0 }); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage.ALIGN...
来源: Laya2.0_示例 发布时间: 20250312
...ber = 0原始高度(包括被裁剪的透明区域)。Texture sourceWidth : Number = 0原始宽度(包括被裁剪的透明区域)。Texture url : String = null图片地址Texture uv : ArrayTexture width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods ...
来源: Laya2.0_api 发布时间: 20190513
...nstructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture ge...
来源: Laya3.0_api 发布时间: 20231115
...oding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="144" height="590" mouseEnabled="true"> <mx:Canvas width="144" height="590" x="0" y="0" horizontalScrollPolicy="off" verticalScrollPolicy="off"> &l...
来源: Laya_社区 发布时间: 20180202
...s = []; var wrapBounds; var maggotTexture; (function() { Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.bgColor = "#000000"; Stat.show(); wrapBounds = new Rectangle(-padding, -padding, Laya.stage.width + padding * 2, Laya.stage.height + padding * 2); Laya.loader.load(texturePath, Handle...
来源: Laya_示例 发布时间: 20250312
... = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Laya.Handler...
来源: Laya2.0_示例 发布时间: 20250312
...组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Defined in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: number Y 轴偏移量。 width: number...
来源: Laya3.0_api 发布时间: 20231115
...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(ApePath, Handler.create(t...
来源: Laya_示例 发布时间: 20250312
...aya.Rectangle; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); wrapBounds = new Rectangl...
来源: Laya2.0_示例 发布时间: 20250312
...组,不建议回收 Returns void clipRect clipRect(x: number, y: number, width: number, height: number): ClipRectCmd Inherited from Graphics.clipRect Defined in laya/display/Graphics.ts:304 设置剪裁区域,超出剪裁区域的坐标不显示。 Parameters x: number X 轴偏移量。 y: numbe...
来源: Laya3.0_api 发布时间: 20231115