大约有 7 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0018 秒)
...phics.drawPath(400, 310, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, 0, 5], ["closePath"] ], { fillStyle: "#00ffff" }); } } new Sprite_Dr...
来源: Laya2.0_示例 发布时间: 20251130
...10, 10); let t2 = this.createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); let t3 = this.createText(); t3.overflow = Text.HIDDEN; t3.pos(10, 210); } createText() { const Text = Laya.Text; let txt = new Text(); txt.text = "Layabox是HTML5引擎技术提供商与优秀的游戏发行商,面向...
来源: Laya2.0_示例 发布时间: 20251130
....width + Character.WIDTH) this.x = -Character.WIDTH; } } Character.WIDTH = 110; Character.HEIGHT = 110; new PerformanceTest_Cartoon2();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Stat = Laya.Stat; import WebGL = Laya.WebGL; import Animation = Laya.Animation; import Sprit...
来源: Laya2.0_示例 发布时间: 20251130
...(Event.CLICK, this, this.onPlayMusic); } createButton(labelText) { let w = 110, h = 40; const Sprite = Laya.Sprite; let btn = new Sprite(); Laya.stage.addChild(btn); btn.size(w, h); btn.graphics.drawRect(0, 0, w, h, "#FF7F50"); btn.graphics.fillText(labelText, w / 2, 8, "24px SimHei", "#FFFFFF", "ce...
来源: Laya2.0_示例 发布时间: 20251130
...tip:"res/guide/help4.png", tipx:730, tipy:380 }, { x: 1128, y: 583, radius:110, tip:"res/guide/help3.png", tipx:900, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = La...
来源: Laya2.0_示例 发布时间: 20251130
... 2; this.controller.y = (Laya.stage.height - this.controller.height) / 2 + 110; Laya.stage.addChild(this.controller); } onClipSwitchState() { if (this.counter.isPlaying) { this.counter.stop(); currFrame = this.counter.index; this.controller.label = "播放"; } else { this.counter.play(); this.counte...
来源: Laya2.0_示例 发布时间: 20251130
... char; letter.color = "#FFFFFF"; letter.font = "Impact"; letter.fontSize = 110; Laya.stage.addChild(letter); return letter; } } }
来源: Laya2.0_示例 发布时间: 20251130