Graphics.FillRectangle
Contents
[
Hide
]FillRectangle(Brush, float, float, float, float)
Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
public void FillRectangle(Brush brush, float x, float y, float width, float height)
| Parameter | Type | Description | 
|---|---|---|
| brush | Brush | Brush that determines the characteristics of the fill. | 
| x | Single | The x-coordinate of the upper-left corner of the rectangle to fill. | 
| y | Single | The y-coordinate of the upper-left corner of the rectangle to fill. | 
| width | Single | Width of the rectangle to fill. | 
| height | Single | Height of the rectangle to fill. | 
See Also
- class Brush
 - class Graphics
 - namespace System.Drawing
 - assembly Aspose.Drawing
 
FillRectangle(Brush, RectangleF)
Fills the interior of a rectangle specified by a RectangleF structure.
public void FillRectangle(Brush brush, RectangleF rect)
| Parameter | Type | Description | 
|---|---|---|
| brush | Brush | Brush that determines the characteristics of the fill. | 
| rect | RectangleF | RectangleF structure that represents the rectangle to fill. | 
See Also
- class Brush
 - struct RectangleF
 - class Graphics
 - namespace System.Drawing
 - assembly Aspose.Drawing