private static Efl.Gfx.GradientSpread spread_get(System.IntPtr obj, System.IntPtr pd) { Eina.Log.Debug("function efl_gfx_gradient_spread_get was called"); var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj); if (ws != null) { Efl.Gfx.GradientSpread _ret_var = default(Efl.Gfx.GradientSpread); try { _ret_var = ((Gradient)ws.Target).GetSpread(); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } return(_ret_var); } else { return(efl_gfx_gradient_spread_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)))); } }
private static void spread_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s) { Eina.Log.Debug("function efl_gfx_gradient_spread_set was called"); Efl.Eo.IWrapper wrapper = Efl.Eo.Globals.PrivateDataGet(pd); if (wrapper != null) { try { ((IGradient)wrapper).SetSpread(s); } catch (Exception e) { Eina.Log.Warning($"Callback error: {e.ToString()}"); Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION); } } else { efl_gfx_gradient_spread_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), s); } }
/// <summary>Specifies the spread method that should be used for this gradient.</summary> /// <param name="s">Spread type to be used</param> virtual public void SetSpread(Efl.Gfx.GradientSpread s) { Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)), s); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Specifies the spread method that should be used for this gradient.</summary> /// <param name="s">Spread type to be used</param> /// <returns></returns> public void SetSpread(Efl.Gfx.GradientSpread s) { Efl.Gfx.IGradientNativeInherit.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle, s); Eina.Error.RaiseIfUnhandledException(); }
/// <summary>Specifies the spread method that should be used for this gradient.</summary> /// <param name="s">Spread type to be used</param> /// <returns></returns> virtual public void SetSpread(Efl.Gfx.GradientSpread s) { Efl.Gfx.IGradientNativeInherit.efl_gfx_gradient_spread_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle), s); Eina.Error.RaiseIfUnhandledException(); }