A
const ctx = wx.createCanvasContext('myCanvas'); ctx.beginPath(); ctx.setLineCap('butt'); ctx.moveTo(10, 10); ctx.setLineWidth(10); ctx.lineTo(150,10); ctx.stroke();