您的位置:首页 > 其它

stroke和closePath

2016-07-08 09:37 218 查看
先stroke后closePath就不会有连接

cav_round1.beginPath();

            cav_round1.moveTo(0, -round1_R[0]);

            cav_round1.lineTo(0, -round1_R[1]);

            cav_round1.arc(0, 0, round1_R[1], -90*Math.PI/180, -30*Math.PI/180);

            cav_round1.stroke();

            cav_round1.closePath();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: