canvasContext.strokecanvasContext.stroke解释:画出当前路径的边框。默认颜色为黑色。 参数:无 示例: const ctx = swan.createCanvasContext('myCanvas');ctx.moveTo(100, 100);ctx.lineTo(10, 100);ctx.lineTo(10, 10);ctx.stroke();ctx.draw();