大约有 163 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0099 秒)
...closePath"]); gridShape.graphics.drawPath(0 , 0 , paths , {fillStyle:"#0000ff"});能麻烦帮忙看下什么问题么 附件 : --> 2017-09-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自:...
来源: Laya_社区 发布时间: 20170901
...多个drawcall var g1 = new Graphics(); g1.drawRect(100, 100, 100, 100, "#FF0000"); g1.drawRect(255, 255, 100, 100, "#FFff00"); g1.drawRect(666, 666, 100, 100, "#FFff00"); for (var i = 0; i < 5000; i++) { g1.drawRect(888, 200, 100, 100, "#FFff00"); } var g2 = new Graphics(); g2.drawRect(0, 0, 100...
来源: Laya_社区 发布时间: 20170729
...s(); graphics.save(); graphics.alpha(0.5); graphics.drawRect(0,0,200,100,"#FF0000"); graphics.restore(); sp.graphics=graphics; Laya.stage.addChild(sp);实现graphics填充透明,请先对graphics进行save(),然后设置填充透明度值,其次绘制矢量图形,最后执行下restore()方法...
来源: Laya_社区 发布时间: 20161130
...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
... 没有做掩码处理 error opcode 4 and close websocket connection. Buffer:4441774d48303d65794a6b5958526881fe00d8e3a8da13aac2aa24aac68c2282ff8b7aacc1904082ecb251b4c5e34586fe8b27aac1ad7aba9aa263b9ffef2382ff8b7aacc1937aafeb902281c59c67b9fb9325aac19360aac5be7b81ff8c5cbaffeb7faac2b57aba9aeb20b9eb936...
来源: Laya_社区 发布时间: 20211203
...sprite.graphics.drawPoly(0, 0, [100, 100, 100, 200, 200, 200, 200, 100], "#ffffff") //一挑粗直线 遮挡正方形的左半部分 mask.graphics.drawLines(0, 0, [100, 150, 150, 150], "#ff0000", 200) // drawPoly在WebGl下遮罩又是正确的 //mask.graphics.drawPoly(0, 0, [100, 100, 100, 200, 150...
来源: Laya_社区 发布时间: 20180224
...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
...= 0; r++; sp.graphics.clear(true); sp.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); sp2.graphics.clear(true); sp2.graphics.drawPie(0, 0, 50, 0, r, "#00ff1e"); }) 附件 : --> test.zip 2019-07-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20190701
... txt.text = "HelloLayaBox"; txt.color = "#ff0000"; txt.fontSize = 66; txt.bold = true; txt.stroke = 5;//字体描边 txt.strokeColor = "#ffffff"; ...
来源: Laya_社区 发布时间: 20171025
...prite(); mask.graphics.drawPoly(0, 0, [0, 0, 484, 0, 1483, 950, 0, 950], '#ff0000'); // container.addChild(mask); container.mask = mask; const ani = new Laya.Animation(); container.addChild(ani); ani.loadAtlas('1.json'); ani.play(); ani.pos(300,0); const d1 = 484; const d2 = 1438; const d3 = 950; co...
来源: Laya_社区 发布时间: 20170915