textAlign 是Canvas 2D API 描述绘制文本时,文本的对齐方式的属性。 ... lineTo(150,170); ctx.stroke(); ctx.font="15px Arial"; // 表明不同TextAlign值 ctx.
確定! 回上一頁