1.1 Canvas簡介. MDN的Canvas線上手冊: ... fillRect(100, 100, 300, 100); //在根據以上顏色填充 ctx. ... fillRect(x,y,w,h); //繪製填充矩形 ctx.
確定! 回上一頁