大约有 5 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0020 秒)
graphics drawPath drawLine 鼠标 画笔 画线 锯齿 mouseMove(e:Laya.Event){ /**/ var p:Laya.Point=this.startPoint; this.cls.graphics.drawPath(0,0,[ ["moveTo", p.x,p.y], ["lineTo", e.stageX,e.stageY] ],null,{strokeStyle:"#ff0000",lineWidth:15,lineJoin:"round",lineCap:"round"}); //*/ //this.cls.g...
来源: Laya_社区 发布时间: 20220920
...00, 10, 60, "#00ffff"); //绘制圆角矩形,自定义路径 sp.graphics.drawPath(400, 310, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5,...
来源: Laya_示例 发布时间: 20241118
...00, 10, 60, "#00ffff"); //绘制圆角矩形,自定义路径 sp.graphics.drawPath(400, 310, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5,...
来源: Laya2.0_示例 发布时间: 20241118
...0, 60, "#00ffff"); //绘制圆角矩形,自定义路径 this.sp.graphics.drawPath(400, 310, [["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5], ["lineTo", 5, 60], ["arcTo", 0, 60, 0, 55, 5], ["lineTo", 0, 5], ["arcTo", 0, 0, 5, ...
来源: Laya_社区 发布时间: 20180115
...绘制矩形与圆角矩形2.1 IDE绘制矩形2.2 代码绘制矩形2.3 用drawPath绘制矩形2.4 IDE绘制圆角矩形2.5 代码绘制圆角矩形2.6 用drawPath绘制圆角矩形三、绘制圆形、椭圆与扇形3.1 IDE绘制圆形3.2 代码绘制圆形3.3 IDE绘制椭圆3.4 代码绘制椭圆3...
来源: Laya3.0_文档 发布时间: 20241014