Method FillRectangle
FillRectangle(Brush, RectD)
Fills the interior of a rectangle specified by a RectD structure. Rectangle is specified in device-independent units.
public override void FillRectangle(Brush brush, RectD rectangle)Parameters
- brushBrush
- Brush that determines the characteristics of the fill. 
- rectangleRectD
- RectD structure that represents the rectangle to fill. 
Remarks
This method fills the interior of the rectangle defined by the rect parameter,
including the specified upper-left corner and up to the calculated
lower and bottom edges.
FillRectangle(Brush, RectD, GraphicsUnit)
Fills the interior of a rectangle specified by a RectD structure. Rectangle is specified in device-independent units.
public override void FillRectangle(Brush brush, RectD rectangle, GraphicsUnit unit)Parameters
- brushBrush
- Brush that determines the characteristics of the fill. 
- rectangleRectD
- RectD structure that represents the rectangle to fill. 
- unitGraphicsUnit
- GraphicsUnit that determines the unit of measure for the rectangle parameter. 
Remarks
This method fills the interior of the rectangle defined by the rect parameter,
including the specified upper-left corner and up to the calculated
lower and bottom edges.