public ArDrawingData(string shape, ArColor primaryColor, int size, int layer, uint defaultRefreshTime, ArColor secondaryColor) : this(AriaCSPINVOKE.new_ArDrawingData__SWIG_4(shape, ArColor.getCPtr(primaryColor), size, layer, defaultRefreshTime, ArColor.getCPtr(secondaryColor)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public ArDrawingData(string shape, ArColor primaryColor, int size, int layer) : this(AriaCSPINVOKE.new_ArDrawingData__SWIG_2(shape, ArColor.getCPtr(primaryColor), size, layer), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void setSecondaryColor(ArColor color)
 {
     AriaCSPINVOKE.ArDrawingData_setSecondaryColor(swigCPtr, ArColor.getCPtr(color));
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public ArColor getPrimaryColor()
        {
            ArColor ret = new ArColor(AriaCSPINVOKE.ArDrawingData_getPrimaryColor(swigCPtr), true);

            return(ret);
        }
Exemple #5
0
 public static global::System.Runtime.InteropServices.HandleRef getCPtr(ArColor obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }