Makes sure that this ring is closed by adding a line segment between the ring's 'to' and 'from' points if necessary.
[Visual Basic 6.0]
Sub Close
[Visual Basic .NET]
Public Sub Close ( _
)
[C#] public void Close ( );
[Java] public void close ( ) throws IOException, AutomationException
[C++]
HRESULT Close(
void
);
Checks whether or not the From and To Points of the Path occur at the same Point. If the From and To Point have the same X and Y coordinates, the Ring is considered closed, and no action is taken. However, if the From and To Points are not at the same X and Y coordinates, a Line segment is added at the end of the Ring between the To Point and the From Point. This Line segment completes the Ring making it closed.