GraphicsFillRectangle Method (Brush, RectangleF)
Fills the interior of a rectangle specified by a RectangleF structure.

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public void FillRectangle(
	Brush brush,
	RectangleF rect
)

Parameters

brush
Type: Aspose.ImagingBrush
Brush that determines the characteristics of the fill.
rect
Type: Aspose.ImagingRectangleF
RectangleF structure that represents the rectangle to fill.
Exceptions
ExceptionCondition
ArgumentNullExceptionbrush is null.
See Also