We can create a canvas and add a rectangle with a shadow as follows: ... getContext('2d'); ctx.rect(20, 50, 100, 100); ctx.shadowColor ...
確定! 回上一頁