由CSS3顏色值能夠指定不透明度,我們也可以如下面一般,設定strokeStyle以及fillStyle來變更不透明度。 // Assigning transparent colors to stroke and fill style ctx.
確定! 回上一頁