經安全檢測,此網站為安全網站,請放心前往原始網址!

Canvas - Dive Into HTML5

Getting back to that code sample in the previous example… Draw a rectangle var b_canvas = document.getElementById("b"); var b_context = b_canvas.getContext("2d"); b_context.fillRect(50, 25, 150, 100); Calling the fillRect() method draws the rectangle and

diveintohtml5.info

網址安全性掃描由 google 提供