The brush
The bottom-right point of the rectangle
The top-left point of the rectangle
FillRectangle(Int32,Point,Point) Method
Fills a rectangle on the IRenderSurface2D using the specified IBrush2D
Syntax
void FillRectangle( 
   int color,
   Point pt1,
   Point pt2
)

Parameters

color
The brush
pt1
The bottom-right point of the rectangle
pt2
The top-left point of the rectangle
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also