void fillRect(Rectangle<num> rectangle, int color) { final updateBatch = BitmapDataUpdateBatch(this); updateBatch.fillRect(rectangle, color); updateBatch.update(); }