This documentation is archived and is not being maintained.

Graphics.FillRectangle Method

Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

Name Description
Graphics.FillRectangle (Brush, Rectangle) Fills the interior of a rectangle specified by a Rectangle structure.

Supported by the .NET Compact Framework.

Graphics.FillRectangle (Brush, RectangleF) Fills the interior of a rectangle specified by a RectangleF structure.
Graphics.FillRectangle (Brush, Int32, Int32, Int32, Int32) Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.

Supported by the .NET Compact Framework.

Graphics.FillRectangle (Brush, Single, Single, Single, Single) Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
Show: