public CSVectorRectEnumerator(CSVectorRect collection) { this.collectionRef = collection; this.currentIndex = -1; this.currentObject = null; this.currentSize = this.collectionRef.Count; }
public void SetRange(int index, CSVectorRect values) { CocoStudioEngineAdapterPINVOKE.CSVectorRect_SetRange(this.swigCPtr, index, CSVectorRect.getCPtr(values)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSVectorRect(CSVectorRect other) : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorRect__SWIG_1(CSVectorRect.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static CSVectorRect Repeat(Rectangle value, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorRect_Repeat(Rect.getCPtr(new Rect((float)value.X, (float)value.Y, (float)value.Width, (float)value.Height)), count); CSVectorRect result = (intPtr == IntPtr.Zero) ? null : new CSVectorRect(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public CSVectorRect GetRange(int index, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorRect_GetRange(this.swigCPtr, index, count); CSVectorRect result = (intPtr == IntPtr.Zero) ? null : new CSVectorRect(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public static HandleRef getCPtr(CSVectorRect obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }