Canvas—描邊與填充

文章目錄 描邊 stroke strokeStyle strokeRect 填充 fill fillRect fillStyle 描邊 stroke Canvas中經常使用的stroke方法就是描邊方法,它用以描繪輪廓。javascript const myCanvas = document.getElementById('myCanvas'); const ctx = myCanvas.getC
相關文章
相關標籤/搜索