非常簡單的在React component中訪問<canvas>並繪製任何圖形: ... clearRect(0,0, 300, 300); // draw children “components” rect({ctx, x: 10, ...
確定! 回上一頁