public Color4B(Color3B color) : this(CocoStudioEngineAdapterPINVOKE.new_Color4B__SWIG_2(Color3B.getCPtr(color)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void SetTextColor(System.Drawing.Color color) { CocoStudioEngineAdapterPINVOKE.CSButton_SetTextColor(this.swigCPtr, Color3B.getCPtr(new Color3B(color.R, color.G, color.B))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public bool equals(Color3B other) { bool flag = CocoStudioEngineAdapterPINVOKE.Color3B_equals(this.swigCPtr, Color3B.getCPtr(other)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(flag); }
public static HandleRef getCPtr(Color3B obj) { return(obj == null ? new HandleRef((object)null, IntPtr.Zero) : obj.swigCPtr); }
public virtual void SetPlaceHolderTextColor(Color color) { CocoStudioEngineAdapterPINVOKE.CSTextField_SetPlaceHolderTextColor(this.swigCPtr, Color3B.getCPtr(new Color3B(color.R, color.G, color.B))); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual Color GetPlaceHolderTextColor() { Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSTextField_GetPlaceHolderTextColor(this.swigCPtr), true); return(Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b)); }
public virtual Color GetColor() { Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSTimelineColorFrame_GetColor(this.swigCPtr), true); return(Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b)); }
public virtual System.Drawing.Color GetGroundLineEndColor() { Color3B color3B = new Color3B(CocoStudioEngineAdapterPINVOKE.CSPanel_GetGroundLineEndColor(this.swigCPtr), true); return(System.Drawing.Color.FromArgb((int)color3B.r, (int)color3B.g, (int)color3B.b)); }