internal IntPtr PrepareToConsume()
    {
        var oldHandle = handle;

        handle = PF.PFPathClone(handle);
        return(oldHandle);
    }
 public PFPath(PFPath targetToClone = null)
 {
     if (targetToClone != null)
     {
         handle = PF.PFPathClone(targetToClone.handle);
     }
     else
     {
         handle = PF.PFPathCreate();
     }
 }