先在HTML的地方建立一個 的區塊, 只有width、height兩種屬性, 並設置一個變數ctx作為canvas的操作元素, const ctx = canvas.getContext('2d') getContext用來取得 ...
確定! 回上一頁