大约有 382 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
Laya_社区(258) Laya2.0_文档(42) Laya3.0_文档(24) Laya_示例(22) Laya2.0_示例(19) Laya3.0_api(10) Laya2.0_api(6) laya_api(1)
...科斯03</font><font color='#88c97b'>[<span color = '#b9a1ff' href='2,45'>2,45</span>]</font>发起了城战,请求支援! 这句话 显示效果是这样的 中括号显示不全 而且位置是错误的 附件 : --> 2018-12-22 1 条评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20181222
...var area:HitArea = new HitArea(); area.hit.drawRect(0, 0, 500, 500, "#ff0000"); area.unHit.drawCircle(250, 250, 50, "#ff0000"); box.hitArea = area; box.mouseEnabled = true; box.on("click", this, onBoxClick); autoSize可以自动计算宽高,但是由于该方法的计...
来源: Laya_社区 发布时间: 20161221
...r radiusY = Math.tan(180 / Math.PI * 30) * radiusX; // 14.37 var color = "#FF7F50"; this.sprite = new Laya.Sprite(); this.sprite.graphics.drawLine(0, 0, -radiusX, radiusY, color); this.sprite.graphics.drawLine(0, 0, radiusX, radiusY, color); this.sprite.graphics.drawLine(-radiusX, radiusY, 0, radius...
来源: Laya2.0_示例 发布时间: 20251130
...ld = true; this.checkbox.labelSize = 30; this.checkbox.labelColors = "#0100ff, #16fa0e, #ff0000"; //各状态下的文本颜色 this.checkbox.labelStroke = 3; this.checkbox.strokeColors = "#000000, #c6ff00, #001aff"; //各状态下的描边颜色 } } 二、代码创建CheckBox 在进行书写代码...
来源: Laya3.0_文档 发布时间: 20251010
... 微博 QZONE 微信 139*****106 赞同来自: <body style="background:#ff0000;"> <script type="text/javascript" src="laya.core.js"></script> <script type="text/javascript" src="laya.webgl.js"></script> <script> window.onload = function (){ document.documentElemen...
来源: Laya_社区 发布时间: 20180709
...31:1863829] setCachePath:/var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Caches//appCache/ 2018-01-09 20:50:15.600 ZhuaWawa[2531:1863829] read index:/var/mobile/Containers/Data/Application/1BB9B6D6-4FF0-4A51-9504-EDDD8FD5E2C3/Library/Caches//appCache/38921681/fil...
来源: Laya_社区 发布时间: 20180109
...' style = 'width:53px;height:27px'></img><span style = 'color:#ff8135;font:22px;valign:top'>[魏]幽州单稚然:sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss</span>" 2017-11-25 0 0 分享 微博 QZONE 微信 176*****233 赞同来自: 我也遇到过这...
来源: Laya_社区 发布时间: 20171116
...a.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", "center"); return btn; } // 播放音效 onPlaySound() { console.log("播放音效"); Laya.SoundManager.playSound("res/sounds/btn.mp3", 1, new Lay...
来源: Laya2.0_示例 发布时间: 20251130
... = new Sprite(); button.size(w, h); button.graphics.drawRect(0, 0, w, h, "#FF7F50"); button.graphics.fillText(label, w / 2, 8, "25px SimHei", "#FFFFFF", "center"); Laya.stage.addChild(button); return button; } function onPlayMusic(e) { console.log("播放音乐"); SoundManager.playMusic("../../res/s...
来源: Laya_示例 发布时间: 20251130
...t; 1, this.DEF_SIZE >> 1, this.DEF_SIZE >> 1,-90,this.startY,'#ff0000') this.$circleSprite.blendMode = "destination-out" this.$circleSprite.pos(this.CIRCLE_WIDTH >> 1,this.CIRCLE_WIDTH >> 1) this.$circleSprite.graphics.clear() this.$circleSprite.graphics.drawCircle((this.DEF_...
来源: Laya_社区 发布时间: 20180123