Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
Syntax
'Declaration
Public Overloads Sub FillRectangle( _
ByVal As System.Drawing.Brush, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single _
)
public void FillRectangle(
System.Drawing.Brush ,
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- brush
- The object that determines the color used to fill the rectangle.
- x
- x-coordinate of the upper-left corner of the rectangle to fill.
- y
- x-coordinate of the upper-left corner of the rectangle to fill.
- width
- Width of the rectangle to fill.
- height
- Height of the rectangle to fill.
See Also