Draws a filled rectangle on the given graphics. The operation of this can be "reversed" by drawing the same rectangle again. This is similar to inverting a region of the screen except that it behaves better for a wider variety of colors.
[Visual Basic] Public Shared Sub FillReversibleRectangle( _ ByVal graphics As Graphics, _ ByVal rectangle As Rectangle, _ ByVal backColor As Color _ ) [C#] public static void FillReversibleRectangle( Graphics graphics, Rectangle rectangle, Color backColor ); [C++] public: static void FillReversibleRectangle( Graphics* graphics, Rectangle rectangle, Color backColor ); [JScript] public static function FillReversibleRectangle( graphics : Graphics, rectangle : Rectangle, backColor : Color );
ControlPaint Class | ControlPaint Members | System.WinForms Namespace