December 2010
Intermediate to advanced
110 pages
2h 31m
English
CRC.clearRect() — erases a rectangular area of a canvas
void clearRect(floatx, floaty, floatwidth, floatheight)
x, yThe coordinates of the upper-left corner of the rectangle
width, heightThe dimensions of the rectangle
clearRect() fills the specified rectangle with
transparent black. Unlike rect(), it does not affect
the current point or the current path.
Read now
Unlock full access