Skip to main content

GraphicsCache.FillRectangle Method

Name Parameters Description
FillRectangle(AppearanceObject, Rectangle) appearanceObject, bounds Fills the interior of a rectangle specified by a Rectangle structure.
FillRectangle(Brush, Rectangle) brush, rect Fills the interior of a rectangle specified by a Rectangle structure.
FillRectangle(Brush, RectangleF) brush, rect Fills the interior of a rectangle specified by a RectangleF structure.
FillRectangle(Brush, Int32, Int32, Int32, Int32) brush, x, y, width, height Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
FillRectangle(Brush, Single, Single, Single, Single) brush, x, y, width, height Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height.
FillRectangle(Color, Rectangle) color, rect Fills the specified rectangular area with the specified color.
FillRectangle(Color, RectangleF) color, rect Fills the interior of a rectangle specified by a RectangleF structure.