public MgShape addShape(MgMotion sender) { IntPtr cPtr = touchvgPINVOKE.MgCommandDraw_addShape__SWIG_2(swigCPtr, MgMotion.getCPtr(sender)); MgShape ret = (cPtr == IntPtr.Zero) ? null : new MgShape(cPtr, false); return ret; }