December 2010
Intermediate to advanced
110 pages
2h 31m
English
CRC.fillRect() — fills a rectangle
void fillRect(floatx, floaty, floatwidth, floatheight)
x, yThe coordinates of the upper-left corner of the rectangle
width, heightThe dimensions of the rectangle
fillRect() fills the specified rectangle with
the color, gradient, or pattern specified by the
fillStyle property.
Unlike the rect() method,
fillRect() has no effect on the current point or the
current path.
Read now
Unlock full access