GoSpline.closePath C# (CSharp) Method

closePath() public method

closes the path adding a new node at the end that is equal to the start node if it isn't already equal
public closePath ( ) : void
return void
    public void closePath()
    {
        // dont let this get closed twice!
        if( isClosed )
            return;

        isClosed = true;
        _solver.closePath();
    }

Usage Example

Example #1
0
 static public int closePath(IntPtr l)
 {
     try {
         GoSpline self = (GoSpline)checkSelf(l);
         self.closePath();
         return(0);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of GoSpline::closePath