Search
GdiGraphics.FillRectangle Method (Brush, Single, Single, Single, Single)
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,
    float x,
    float y,
    float width,
    float height
)

Visual Basic  Copy Code

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

 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