Search
GdiGraphics.FillRectangle Method (Brush, Int32, Int32, Int32, Int32)
See Also
 





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

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void FillRectangle (
    Brush brush,
    int x,
    int y,
    int width,
    int height
)

Visual Basic  Copy Code

Public Overridable Sub FillRectangle( _
    brush As Brush, _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer _
)

 Parameters

brush
A .NET Brush object that determines the characteristics of the fill.
x
The x-coordinate of the upper-left corner of the rectangle to fill.
y
The y-coordinate of the upper-left corner of the rectangle to fill.
width
The width of the rectangle to fill.
height
The height of the rectangle to fill.

 See Also