GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDrawing Class / CloseFigure Method / CloseFigure(Int32) Method
Any index in the figure
In This Topic
    CloseFigure(Int32) Method
    In This Topic
    Closes the figure containing the given index.
    Syntax
    public void CloseFigure( 
       int i
    )

    Parameters

    i
    Any index in the figure
    Remarks

    A closed figure will be filled with a brush if one is set, and will have a line drawn from its end point to its start point, if they are not already at the same point.

    This method is different from CompleteFigure(Int32) because this results in the figure being filled with a brush, whereas CompleteFigure(Int32) causes the figure to be left unfilled when painted.

    See Also