/// <summary> /// Fills the interior of a rectangle specified by a RectangleF structure. /// </summary> /// <param name="brush">Brush object that determines the characteristics of the fill.</param> /// <param name="rect">RectangleF structure that represents the rectangle to fill.</param> internal void FillRectangle( Brush brush, RectangleF rect ) { RenderingObject.FillRectangle(brush, rect); }
/// <summary> /// Fills the interior of a rectangle specified by a pair of coordinates, a width, and a height. /// </summary> /// <param name="brush">Brush object that determines the characteristics of the fill.</param> /// <param name="x">x-coordinate of the upper-left corner of the rectangle to fill.</param> /// <param name="y">y-coordinate of the upper-left corner of the rectangle to fill.</param> /// <param name="width">Width of the rectangle to fill.</param> /// <param name="height">Height of the rectangle to fill.</param> internal void FillRectangle( Brush brush, float x, float y, float width, float height ) { RenderingObject.FillRectangle(brush, x, y, width, height); }