2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
13 /// <summary>Efl graphics gradient linear interface</summary>
14 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
15 [Efl.Gfx.IGradientLinearConcrete.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public interface IGradientLinear :
19 Efl.Eo.IWrapper, IDisposable
21 /// <summary>Gets the start point of this linear gradient.</summary>
22 /// <param name="x">X co-ordinate of start point</param>
23 /// <param name="y">Y co-ordinate of start point</param>
24 void GetStart(out double x, out double y);
25 /// <summary>Sets the start point of this linear gradient.</summary>
26 /// <param name="x">X co-ordinate of start point</param>
27 /// <param name="y">Y co-ordinate of start point</param>
28 void SetStart(double x, double y);
29 /// <summary>Gets the end point of this linear gradient.</summary>
30 /// <param name="x">X co-ordinate of end point</param>
31 /// <param name="y">Y co-ordinate of end point</param>
32 void GetEnd(out double x, out double y);
33 /// <summary>Sets the end point of this linear gradient.</summary>
34 /// <param name="x">X co-ordinate of end point</param>
35 /// <param name="y">Y co-ordinate of end point</param>
36 void SetEnd(double x, double y);
37 /// <summary>Gets the start point of this linear gradient.</summary>
38 /// <value>X co-ordinate of start point</value>
39 (double, double) Start {
43 /// <summary>Gets the end point of this linear gradient.</summary>
44 /// <value>X co-ordinate of end point</value>
45 (double, double) End {
50 /// <summary>Efl graphics gradient linear interface</summary>
51 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
52 sealed public class IGradientLinearConcrete :
57 /// <summary>Pointer to the native class description.</summary>
58 public override System.IntPtr NativeClass
62 if (((object)this).GetType() == typeof(IGradientLinearConcrete))
64 return GetEflClassStatic();
68 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
73 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
74 /// Do not call this constructor directly.</summary>
75 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
76 private IGradientLinearConcrete(ConstructingHandle ch) : base(ch)
80 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
81 efl_gfx_gradient_linear_interface_get();
82 /// <summary>Initializes a new instance of the <see cref="IGradientLinear"/> class.
83 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
84 /// <param name="wh">The native pointer to be wrapped.</param>
85 private IGradientLinearConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
89 /// <summary>Gets the start point of this linear gradient.</summary>
90 /// <param name="x">X co-ordinate of start point</param>
91 /// <param name="y">Y co-ordinate of start point</param>
92 public void GetStart(out double x, out double y) {
93 Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
94 Eina.Error.RaiseIfUnhandledException();
96 /// <summary>Sets the start point of this linear gradient.</summary>
97 /// <param name="x">X co-ordinate of start point</param>
98 /// <param name="y">Y co-ordinate of start point</param>
99 public void SetStart(double x, double y) {
100 Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_start_set_ptr.Value.Delegate(this.NativeHandle,x, y);
101 Eina.Error.RaiseIfUnhandledException();
103 /// <summary>Gets the end point of this linear gradient.</summary>
104 /// <param name="x">X co-ordinate of end point</param>
105 /// <param name="y">Y co-ordinate of end point</param>
106 public void GetEnd(out double x, out double y) {
107 Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_get_ptr.Value.Delegate(this.NativeHandle,out x, out y);
108 Eina.Error.RaiseIfUnhandledException();
110 /// <summary>Sets the end point of this linear gradient.</summary>
111 /// <param name="x">X co-ordinate of end point</param>
112 /// <param name="y">Y co-ordinate of end point</param>
113 public void SetEnd(double x, double y) {
114 Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_set_ptr.Value.Delegate(this.NativeHandle,x, y);
115 Eina.Error.RaiseIfUnhandledException();
117 /// <summary>Get the list of color stops.</summary>
118 /// <param name="colors">Color stops list</param>
119 /// <param name="length">Length of the list</param>
120 public void GetStop(out Efl.Gfx.GradientStop colors, out uint length) {
121 var _out_colors = new System.IntPtr();
122 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_get_ptr.Value.Delegate(this.NativeHandle,out _out_colors, out length);
123 Eina.Error.RaiseIfUnhandledException();
124 colors = Eina.PrimitiveConversion.PointerToManaged<Efl.Gfx.GradientStop>(_out_colors);
126 /// <summary>Set the list of color stops for the gradient</summary>
127 /// <param name="colors">Color stops list</param>
128 /// <param name="length">Length of the list</param>
129 public void SetStop(ref Efl.Gfx.GradientStop colors, uint length) {
130 Efl.Gfx.GradientStop.NativeStruct _in_colors = colors;
131 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_stop_set_ptr.Value.Delegate(this.NativeHandle,ref _in_colors, length);
132 Eina.Error.RaiseIfUnhandledException();
135 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
136 /// <returns>Spread type to be used</returns>
137 public Efl.Gfx.GradientSpread GetSpread() {
138 var _ret_var = Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_get_ptr.Value.Delegate(this.NativeHandle);
139 Eina.Error.RaiseIfUnhandledException();
142 /// <summary>Specifies the spread method that should be used for this gradient.</summary>
143 /// <param name="s">Spread type to be used</param>
144 public void SetSpread(Efl.Gfx.GradientSpread s) {
145 Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
146 Eina.Error.RaiseIfUnhandledException();
148 /// <summary>Gets the start point of this linear gradient.</summary>
149 /// <value>X co-ordinate of start point</value>
150 public (double, double) Start {
152 double _out_x = default(double);
153 double _out_y = default(double);
154 GetStart(out _out_x,out _out_y);
155 return (_out_x,_out_y);
157 set { SetStart( value.Item1, value.Item2); }
159 /// <summary>Gets the end point of this linear gradient.</summary>
160 /// <value>X co-ordinate of end point</value>
161 public (double, double) End {
163 double _out_x = default(double);
164 double _out_y = default(double);
165 GetEnd(out _out_x,out _out_y);
166 return (_out_x,_out_y);
168 set { SetEnd( value.Item1, value.Item2); }
170 /// <summary>Get the list of color stops.</summary>
171 /// <value>Color stops list</value>
172 public (Efl.Gfx.GradientStop, uint) Stop {
174 Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
175 uint _out_length = default(uint);
176 GetStop(out _out_colors,out _out_length);
177 return (_out_colors,_out_length);
179 set { SetStop(ref value.Item1, value.Item2); }
181 /// <summary>Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.</summary>
182 /// <value>Spread type to be used</value>
183 public Efl.Gfx.GradientSpread Spread {
184 get { return GetSpread(); }
185 set { SetSpread(value); }
187 private static IntPtr GetEflClassStatic()
189 return Efl.Gfx.IGradientLinearConcrete.efl_gfx_gradient_linear_interface_get();
191 /// <summary>Wrapper for native methods and virtual method delegates.
192 /// For internal use by generated code only.</summary>
193 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
195 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
196 /// <summary>Gets the list of Eo operations to override.</summary>
197 /// <returns>The list of Eo operations to be overload.</returns>
198 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
200 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
201 var methods = Efl.Eo.Globals.GetUserMethods(type);
203 if (efl_gfx_gradient_linear_start_get_static_delegate == null)
205 efl_gfx_gradient_linear_start_get_static_delegate = new efl_gfx_gradient_linear_start_get_delegate(start_get);
208 if (methods.FirstOrDefault(m => m.Name == "GetStart") != null)
210 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_linear_start_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_linear_start_get_static_delegate) });
213 if (efl_gfx_gradient_linear_start_set_static_delegate == null)
215 efl_gfx_gradient_linear_start_set_static_delegate = new efl_gfx_gradient_linear_start_set_delegate(start_set);
218 if (methods.FirstOrDefault(m => m.Name == "SetStart") != null)
220 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_linear_start_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_linear_start_set_static_delegate) });
223 if (efl_gfx_gradient_linear_end_get_static_delegate == null)
225 efl_gfx_gradient_linear_end_get_static_delegate = new efl_gfx_gradient_linear_end_get_delegate(end_get);
228 if (methods.FirstOrDefault(m => m.Name == "GetEnd") != null)
230 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_linear_end_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_linear_end_get_static_delegate) });
233 if (efl_gfx_gradient_linear_end_set_static_delegate == null)
235 efl_gfx_gradient_linear_end_set_static_delegate = new efl_gfx_gradient_linear_end_set_delegate(end_set);
238 if (methods.FirstOrDefault(m => m.Name == "SetEnd") != null)
240 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_linear_end_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_linear_end_set_static_delegate) });
243 if (efl_gfx_gradient_stop_get_static_delegate == null)
245 efl_gfx_gradient_stop_get_static_delegate = new efl_gfx_gradient_stop_get_delegate(stop_get);
248 if (methods.FirstOrDefault(m => m.Name == "GetStop") != null)
250 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_stop_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_stop_get_static_delegate) });
253 if (efl_gfx_gradient_stop_set_static_delegate == null)
255 efl_gfx_gradient_stop_set_static_delegate = new efl_gfx_gradient_stop_set_delegate(stop_set);
258 if (methods.FirstOrDefault(m => m.Name == "SetStop") != null)
260 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_stop_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_stop_set_static_delegate) });
263 if (efl_gfx_gradient_spread_get_static_delegate == null)
265 efl_gfx_gradient_spread_get_static_delegate = new efl_gfx_gradient_spread_get_delegate(spread_get);
268 if (methods.FirstOrDefault(m => m.Name == "GetSpread") != null)
270 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_spread_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_spread_get_static_delegate) });
273 if (efl_gfx_gradient_spread_set_static_delegate == null)
275 efl_gfx_gradient_spread_set_static_delegate = new efl_gfx_gradient_spread_set_delegate(spread_set);
278 if (methods.FirstOrDefault(m => m.Name == "SetSpread") != null)
280 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_gradient_spread_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_gradient_spread_set_static_delegate) });
285 /// <summary>Returns the Eo class for the native methods of this class.</summary>
286 /// <returns>The native class pointer.</returns>
287 public override IntPtr GetEflClass()
289 return Efl.Gfx.IGradientLinearConcrete.efl_gfx_gradient_linear_interface_get();
292 #pragma warning disable CA1707, CS1591, SA1300, SA1600
295 private delegate void efl_gfx_gradient_linear_start_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
298 public delegate void efl_gfx_gradient_linear_start_get_api_delegate(System.IntPtr obj, out double x, out double y);
300 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_start_get_api_delegate> efl_gfx_gradient_linear_start_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_start_get_api_delegate>(Module, "efl_gfx_gradient_linear_start_get");
302 private static void start_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
304 Eina.Log.Debug("function efl_gfx_gradient_linear_start_get was called");
305 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
308 x = default(double); y = default(double);
311 ((IGradientLinear)ws.Target).GetStart(out x, out y);
315 Eina.Log.Warning($"Callback error: {e.ToString()}");
316 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
323 efl_gfx_gradient_linear_start_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
327 private static efl_gfx_gradient_linear_start_get_delegate efl_gfx_gradient_linear_start_get_static_delegate;
330 private delegate void efl_gfx_gradient_linear_start_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
333 public delegate void efl_gfx_gradient_linear_start_set_api_delegate(System.IntPtr obj, double x, double y);
335 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_start_set_api_delegate> efl_gfx_gradient_linear_start_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_start_set_api_delegate>(Module, "efl_gfx_gradient_linear_start_set");
337 private static void start_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
339 Eina.Log.Debug("function efl_gfx_gradient_linear_start_set was called");
340 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
346 ((IGradientLinear)ws.Target).SetStart(x, y);
350 Eina.Log.Warning($"Callback error: {e.ToString()}");
351 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
358 efl_gfx_gradient_linear_start_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
362 private static efl_gfx_gradient_linear_start_set_delegate efl_gfx_gradient_linear_start_set_static_delegate;
365 private delegate void efl_gfx_gradient_linear_end_get_delegate(System.IntPtr obj, System.IntPtr pd, out double x, out double y);
368 public delegate void efl_gfx_gradient_linear_end_get_api_delegate(System.IntPtr obj, out double x, out double y);
370 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_end_get_api_delegate> efl_gfx_gradient_linear_end_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_end_get_api_delegate>(Module, "efl_gfx_gradient_linear_end_get");
372 private static void end_get(System.IntPtr obj, System.IntPtr pd, out double x, out double y)
374 Eina.Log.Debug("function efl_gfx_gradient_linear_end_get was called");
375 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
378 x = default(double); y = default(double);
381 ((IGradientLinear)ws.Target).GetEnd(out x, out y);
385 Eina.Log.Warning($"Callback error: {e.ToString()}");
386 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
393 efl_gfx_gradient_linear_end_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out x, out y);
397 private static efl_gfx_gradient_linear_end_get_delegate efl_gfx_gradient_linear_end_get_static_delegate;
400 private delegate void efl_gfx_gradient_linear_end_set_delegate(System.IntPtr obj, System.IntPtr pd, double x, double y);
403 public delegate void efl_gfx_gradient_linear_end_set_api_delegate(System.IntPtr obj, double x, double y);
405 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_end_set_api_delegate> efl_gfx_gradient_linear_end_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_linear_end_set_api_delegate>(Module, "efl_gfx_gradient_linear_end_set");
407 private static void end_set(System.IntPtr obj, System.IntPtr pd, double x, double y)
409 Eina.Log.Debug("function efl_gfx_gradient_linear_end_set was called");
410 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
416 ((IGradientLinear)ws.Target).SetEnd(x, y);
420 Eina.Log.Warning($"Callback error: {e.ToString()}");
421 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
428 efl_gfx_gradient_linear_end_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), x, y);
432 private static efl_gfx_gradient_linear_end_set_delegate efl_gfx_gradient_linear_end_set_static_delegate;
435 private delegate void efl_gfx_gradient_stop_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length);
438 public delegate void efl_gfx_gradient_stop_get_api_delegate(System.IntPtr obj, out System.IntPtr colors, out uint length);
440 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_get_api_delegate> efl_gfx_gradient_stop_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_get_api_delegate>(Module, "efl_gfx_gradient_stop_get");
442 private static void stop_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr colors, out uint length)
444 Eina.Log.Debug("function efl_gfx_gradient_stop_get was called");
445 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
448 Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
449 length = default(uint);
452 ((IGradientLinear)ws.Target).GetStop(out _out_colors, out length);
456 Eina.Log.Warning($"Callback error: {e.ToString()}");
457 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
460 colors = Eina.PrimitiveConversion.ManagedToPointerAlloc(_out_colors);
465 efl_gfx_gradient_stop_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out colors, out length);
469 private static efl_gfx_gradient_stop_get_delegate efl_gfx_gradient_stop_get_static_delegate;
472 private delegate void efl_gfx_gradient_stop_set_delegate(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
475 public delegate void efl_gfx_gradient_stop_set_api_delegate(System.IntPtr obj, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length);
477 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_set_api_delegate> efl_gfx_gradient_stop_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_stop_set_api_delegate>(Module, "efl_gfx_gradient_stop_set");
479 private static void stop_set(System.IntPtr obj, System.IntPtr pd, ref Efl.Gfx.GradientStop.NativeStruct colors, uint length)
481 Eina.Log.Debug("function efl_gfx_gradient_stop_set was called");
482 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
485 Efl.Gfx.GradientStop _in_colors = colors;
489 ((IGradientLinear)ws.Target).SetStop(ref _in_colors, length);
493 Eina.Log.Warning($"Callback error: {e.ToString()}");
494 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
502 efl_gfx_gradient_stop_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), ref colors, length);
506 private static efl_gfx_gradient_stop_set_delegate efl_gfx_gradient_stop_set_static_delegate;
509 private delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_delegate(System.IntPtr obj, System.IntPtr pd);
512 public delegate Efl.Gfx.GradientSpread efl_gfx_gradient_spread_get_api_delegate(System.IntPtr obj);
514 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_get_api_delegate> efl_gfx_gradient_spread_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_get_api_delegate>(Module, "efl_gfx_gradient_spread_get");
516 private static Efl.Gfx.GradientSpread spread_get(System.IntPtr obj, System.IntPtr pd)
518 Eina.Log.Debug("function efl_gfx_gradient_spread_get was called");
519 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
522 Efl.Gfx.GradientSpread _ret_var = default(Efl.Gfx.GradientSpread);
525 _ret_var = ((IGradientLinear)ws.Target).GetSpread();
529 Eina.Log.Warning($"Callback error: {e.ToString()}");
530 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
538 return efl_gfx_gradient_spread_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
542 private static efl_gfx_gradient_spread_get_delegate efl_gfx_gradient_spread_get_static_delegate;
545 private delegate void efl_gfx_gradient_spread_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s);
548 public delegate void efl_gfx_gradient_spread_set_api_delegate(System.IntPtr obj, Efl.Gfx.GradientSpread s);
550 public static Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_set_api_delegate> efl_gfx_gradient_spread_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_gradient_spread_set_api_delegate>(Module, "efl_gfx_gradient_spread_set");
552 private static void spread_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.GradientSpread s)
554 Eina.Log.Debug("function efl_gfx_gradient_spread_set was called");
555 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
561 ((IGradientLinear)ws.Target).SetSpread(s);
565 Eina.Log.Warning($"Callback error: {e.ToString()}");
566 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
573 efl_gfx_gradient_spread_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), s);
577 private static efl_gfx_gradient_spread_set_delegate efl_gfx_gradient_spread_set_static_delegate;
579 #pragma warning restore CA1707, CS1591, SA1300, SA1600
588 #pragma warning disable CS1591
589 public static class Efl_GfxIGradientLinearConcrete_ExtensionMethods {
593 public static Efl.BindableProperty<Efl.Gfx.GradientSpread> Spread<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Gfx.IGradientLinear, T>magic = null) where T : Efl.Gfx.IGradientLinear {
594 return new Efl.BindableProperty<Efl.Gfx.GradientSpread>("spread", fac);
598 #pragma warning restore CS1591