大约有 35 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0025 秒)
...this.graphics.drawRect(-height / 2, -height / 2, width + height, height, "#FF7F50"); } // 获取关节另一头位置 Segment.prototype.getPinPosition = function() { var radian = this.rotation * Math.PI / 180; var tx = this.x + Math.cos(radian) * this.width; var ty = this.y + Math.sin(radian) * this...
来源: Laya_示例 发布时间: 20251130
..."; 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
...his.height / 2, -this.height / 2, this.width + this.height, this.height, "#FF7F50"); } // 获取关节另一头位置 getPinPosition() { const Point = Laya.Point; let radian = this.rotation * Math.PI / 180; let tx = this.x + Math.cos(radian) * this.width; let ty = this.y + Math.sin(radian) * this.wi...
来源: Laya2.0_示例 发布时间: 20251130
....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