Fills the interior of a rectangle specified by a coordinate pair, a width, and a height.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void FillRectangle( Brush brush, float x, float y, float width, float height )
Type: Aurigma.GraphicsMill.AdvancedDrawing.Brush
A Brush that determines the characteristics of the fill.Type: System.Single
The x-coordinate of the upper-left corner of the rectangle to draw.Type: System.Single
The y-coordinate of the upper-left corner of the rectangle to draw.Type: System.Single
The width of the rectangle to draw.Type: System.Single
The height of the rectangle to draw.To draw an outlined rectangle, use DrawRectangle(Pen, Single, Single, Single, Single) method.