Graphics.FillRectangle Method (Brush, Rectangle)

Fills the interiors of a series of rectangles specified by Rectangle structure.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void FillRectangle(
	Brush brush,
	Rectangle rect
)

Parameters

brush

Type: Aurigma.GraphicsMill.Drawing.Brush

A Brush that determines the characteristics of the fill.
rect

Type: System.Drawing.Rectangle

A Rectangle structure that represents the rectangle to fill.

Remarks

To outline a rectangle, use DrawRectangle(Pen, Rectangle) method.

See Also

Reference