Paint.ColorSetter.DrawRectangle C# (CSharp) Méthode

DrawRectangle() protected méthode

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