TCustomIvorySurface::FillRect

Fills a rectangular area of the surface.

void __fastcall FillRect(const TRect rect, int color = 0);

Description

Use FillRect to fill the specified rectangle of the surface with the specified color. You must unlock the surface and release the canvas before you call this method. This is the fastest way of clearing a rectangle on the surface.

Back to TCustomIvorySurface