Source
void fillRect(Rectangle<num> rectangle, int color) { _renderContext.setTransform(_drawMatrix); _renderContext.rawContext.fillStyle = color2rgba(color); _renderContext.rawContext.fillRect(rectangle.left, rectangle.top, rectangle.width, rectangle.height); }