大约有 18 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0023 秒)
... //绘制圆角矩形,自定义路径 sp.graphics.drawPath(0, 0, [ ["moveTo", 5, 0], ["lineTo", 105, 0], ["arcTo", 110, 0, 110, 5, 5], ["lineTo", 110, 55], ["arcTo", 110, 60, 105, 60, 5...
来源: Laya_社区 发布时间: 20170711
...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
...ZONE 微信 ohkei - as3、as2、h5 赞同来自: @fumengjia 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_社区 发布时间: 20170119
...y_11858 赞同来自: cuixueying var sp:Sprite = new Sprite(); 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_社区 发布时间: 20170804
graphics下没有lineTo,怎么实现实时绘图效果? 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, 0,...
来源: Laya_社区 发布时间: 20170222
...0)为夹角A,(30,0)为端点p2 ]; //绘制圆角矩形 sp.graphics.drawPath(0, 0, path, { fillStyle: fillColor },{"strokeStyle":"#ffffff","lineWidth":"10"}); 上面上你们官方的例子,这么写的结果???? 无语。圆角矩形多么常见的功能,为啥不提供个api...
来源: Laya_社区 发布时间: 20190702
...改下文档,用以下方式是OK的,可以参考下代码 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, 0...
来源: Laya_社区 发布时间: 20170321
...e.scaleMode = "showall"; var sp1=new Laya.Sprite(); sp1.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], [&quo...
来源: Laya_社区 发布时间: 20171127