調用closePath()方法後,我們可以使用stroke()方法繪製路徑,使用fill()方法以默認顏色填充黑色,並使用fillStyle屬性填充其他顏色,漸變或圖案。 用法: context.
確定! 回上一頁