/// <summary>Set the list of color stops for the gradient</summary> /// <param name="colors">Color stops list</param> /// <param name="length">Length of the list</param> virtual public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) { Efl.Gfx.GradientStop.NativeStruct _in_colors = colors; Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), ref _in_colors, length); Eina.Error.RaiseIfUnhandledException(); colors = _in_colors; }
private static void stop_set(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length) { Eina.Log.Debug("function efl_gfx_gradient_stop_set was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.GradientStop _in_colors = colors; try { ((IGradient)ws.Target).SetStop(ref _in_colors, length); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } colors = _in_colors; } else { efl_gfx_gradient_stop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref colors, length); } }
/// <summary>Set the list of color stops for the gradient</summary> /// <param name="colors">Color stops list</param> /// <param name="length">Length of the list</param> /// <returns></returns> public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) { Efl.Gfx.GradientStop.NativeStruct _in_colors = colors; Efl.Gfx.IGradientNativeInherit.efl_gfx_gradient_stop_set_ptr.Value.Delegate(this.NativeHandle, ref _in_colors, length); Eina.Error.RaiseIfUnhandledException(); colors = _in_colors; }
/// <summary>Set the list of color stops for the gradient</summary> /// <param name="colors">Color stops list</param> /// <param name="length">Length of the list</param> /// <returns></returns> virtual public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) { Efl.Gfx.GradientStop.NativeStruct _in_colors = colors; Efl.Gfx.IGradientNativeInherit.efl_gfx_gradient_stop_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), ref _in_colors, length); Eina.Error.RaiseIfUnhandledException(); colors = _in_colors; }