大约有 11 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0028 秒)
...btn.graphics.drawRect((stageWd - w) * 0.5, (stageHt - h) * 0.5-50, w, h, "#FF7F50"); btn.graphics.fillText("确 定", (stageWd) * 0.5 , (stageHt - h) * 0.5-43, "25px SimHei", "#FFFFFF", "center"); //dialog_mc.addChild(btn); Laya.stage.addChild(btn); btn.on(Event.CLICK, this, function(){ alert("点...
来源: Laya_社区 发布时间: 20170120
.../ Math.PI * 30) * radiusX; var color: string = "#FF7F50"; this.sprite = new Sprite(); this.sprite.graphics.drawLine(0, 0, -radiusX, radiusY, color); this.sprite.graphics.drawLine(0, 0, radiusX, radiusY, color); ...
来源: Laya_社区 发布时间: 20201230
..."; text.fontSize = 18; text.pos(aar[i][0]+10,aar[i][1]+66); text.color = "#FF7F00"; text.zOrder = 1; this.addChild(text); var text = new Text(); text.text ="100123"; text.fontSize = 18; text.pos(aar[i][0]+10,aar[i][1]+85); text.color = "#FF7F00"; text.zOrder = 1; this.addChild(text); var bgSprite = ...
来源: Laya_社区 发布时间: 20170920
....x, p1.y); target.graphics.drawPoly(p1.x, p1.y,path,"#FF7F50"); _mask.graphics.drawTexture(texture,0,0); var path1:Array = ; path1.push(p2.x, p2.y); ...
来源: Laya_社区 发布时间: 20160627
...vas.graphics.drawPoly(Laya.stage.width / 2, Laya.stage.height / 2, path, "#FF7F50"); 这个可以通过一些点来绘制一个平面图形 2017-11-03 0 1 分享 微博 QZONE 微信 i_like_these 赞同来自: 请问下 这个绘制是2d的吗 还是3D的 能绘制3D平面吗? 2017-11-06 0 0 分...
来源: Laya_社区 发布时间: 20171102
... 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
...filter1 = new Laya.ColorFilter(); filter1.setColor("#00FF7F"); text1.filters = [filter1]; let text2 = new Laya.Text(); text2.text = "ceshi2"; Laya.stage.addChild(text2); text2.fontSize = 40...
来源: Laya_社区 发布时间: 20210914
... = 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_社区 发布时间: 20170527
...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; ...
来源: Laya_社区 发布时间: 20201203
... = 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; } private function parseComplete(fac:Templet):void { //创建模式为1,可以启用换...
来源: Laya_社区 发布时间: 20170406