为了账号安全,请及时绑定邮箱和手机立即绑定

artisan.js如何画三角形

1 artisan.drawLine('canvas',200,200,300,300,1,'red');

  artisan.drawLine('canvas',300,300,250,280,1,'red');

  artisan.drawLine('canvas',250,280,200,200,1,'red');

2

artisan.drawLine('canvas',200,200,300,300,1,'red');

artisan.drawLine('canvas',300,300,250,280,1,'red');

//artisan.drawLine('canvas',250,280,200,200,1,'red');

artisan.closePath('canvas');

为何第二种方法不行呢?

正在回答

1 回答

举报

0/150
提交
取消

artisan.js如何画三角形

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信