Paint.ColorSetter.DrawRectangle C# (CSharp) Method

DrawRectangle() protected method

Draws the rectangle.
protected DrawRectangle ( Rectangle rectangle, Color color ) : void
rectangle Microsoft.Xna.Framework.Rectangle
color Color
return void
        protected void DrawRectangle(Rectangle rectangle, Color color)
        {
            this.graphicsDisplay.DrawGraphic(ImageType.EmptySquare, rectangle, color);
        }