canvas--改變顏色
代碼: 【新知識點】: 1、fillStyle //填充的顏色 2、strokeStyle //邊框的顏色 3、lineWidth //線寬度 【注 ...
代碼: 【新知識點】: 1、fillStyle //填充的顏色 2、strokeStyle //邊框的顏色 3、lineWidth //線寬度 【注 ...
效果圖: 代碼: 【知識點】:fill(填充)、stroke(畫線) 1、fillRect(x,y,w,h); //繪制實體方塊,默認黑色 2、s ...