大约有 382 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)
Laya_社区(258) Laya2.0_文档(42) Laya3.0_文档(24) Laya_示例(22) Laya2.0_示例(19) Laya3.0_api(10) Laya2.0_api(6) laya_api(1)
...text = new Text(); text.zOrder = 10000; text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.timer.frameLoop(1, this, this.gameLoop); } createCharacters() { let char; let charSkin; for (let i = 0; i = 0; i--) { characters[i].update(); } if (Laya.timer.currFrame % 60 === 0) { te...
来源: Laya2.0_示例 发布时间: 20251130
... h = 770; bimgBox.graphics.drawRect(0, 0, w, h, "#FF7F50"); var rect = new Rectangle(0,0,200,200); bimgBox.scrollRect = rect; bimgBox.optimizeScrollRect = true; 这是我的调用方法,麻烦知道的高手指点...
来源: Laya_社区 发布时间: 20170526
...{ var sp:Sprite; sp = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#ff0000"); Laya.stage.addChild(sp); sp.pos(100, 100); drawToc(sp); } private function drawToc(sp:Sprite):void { var canvas:HTMLCanvas= sp.drawToCanvas(100, 100, 0, 0); var ct:*= canvas.getContext("2d").canvas; var bs64:String ...
来源: Laya_社区 发布时间: 20170417
...,0,stageWidth*0.05,0,10], ]; this.graphics.drawPath(0,0,path,{fillStyle: "#ff0000"},{"strokeStyle":"#ffffff","lineWidth":"1"}); } Laya.class(login,"login",_super); var _proto = login.prototype; return login; })(Laya.Sprite); 2017-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20170806
...始化父类 * this.graphics.drawRect(0, 0, 100, 20, "#ff0000"); * var label = new laya.ui.Label();//创建一个 Label 类的实例对象 label 。 * label.text = "100000";//设置 label 的文本内容。 * label.name ...
来源: Laya_社区 发布时间: 20180426
...lay/Graphics.ts:54 Returns AutoBitmap Properties _color _color: string = "#ffffff" Defined in laya/ui/AutoBitmap.ts:31 uv uv: number[] = null Defined in laya/ui/AutoBitmap.ts:29 Accessors cmds get cmds(): any[] set cmds(value: any[]): void Inherited from Graphics.cmds Defined in laya/display/Graphic...
来源: Laya3.0_api 发布时间: 20231115
...unction LateTest() { Laya.init(400,400,WebGL); Laya.stage.bgColor = "#ff0000"; // trace(Laya.timer.toString()); // Laya.timer.callLater(this,onLater); // trace(Laya.timer.toString()); var assets:Array = []; assets.push({url:[ "fish_6.png" ],type:Loader.IMAGE}); Laya.loader.load(a...
来源: Laya_社区 发布时间: 20180314
...Size = true; mapMask.graphics.drawRect(0,0,miniMap.width,miniMap.height, '#ff0000'); miniMap.mask = mapMask; Laya.stage.addChild(miniMap) 2018-11-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20181101
...extfiled.style.valign = "middle"; var clientName = "<span style='color:#ffcc00;'>" + "聊天室" + ":</span>"; var clientInfo = "<span style='color:#ff9900;'>【LayaBox群】</span>" + clientName; var msgHtml = "您好您好您好您好您好您好您好您好您好您好...
来源: Laya_社区 发布时间: 20190222
...is.a6.on("click",this,onB);function onB(e) { etg = e.target; etg.color = "#ff0000"; } 2016-06-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: kangge @kangge 您好,我刚...
来源: Laya_社区 发布时间: 20160606