GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DrawXorBox Method
The size and location of the rectangle to draw, in view coordinates.
Whether to draw the new rectangle.
In This Topic
    DrawXorBox Method
    In This Topic
    This convenience method erases any previous XOR-drawn rectangle and then may draw a new one with the given dimensions.
    Syntax
    public virtual void DrawXorBox( 
       Rectangle rect,
       bool drawnew
    )

    Parameters

    rect
    The size and location of the rectangle to draw, in view coordinates.
    drawnew
    Whether to draw the new rectangle.
    Remarks

    This always erases any earlier rectangle drawn by this method. It only draws a new rectangle if drawnew is true.

    If DrawsXorMode is false, this draws a rectangle using a checkerboard pen, instead of drawing in XOR mode.

    See Also