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>Elementary widget internal part background class</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.Ui.WidgetPartBg.NativeMethods]
16 [Efl.Eo.BindingEntity]
17 public class WidgetPartBg : Efl.Ui.WidgetPart, Efl.IFile, Efl.Gfx.IColor, Efl.Gfx.IImage
19 /// <summary>Pointer to the native class description.</summary>
20 public override System.IntPtr NativeClass
24 if (((object)this).GetType() == typeof(WidgetPartBg))
26 return GetEflClassStatic();
30 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
35 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
36 efl_ui_widget_part_bg_class_get();
37 /// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.</summary>
38 /// <param name="parent">Parent instance.</param>
39 public WidgetPartBg(Efl.Object parent= null
40 ) : base(efl_ui_widget_part_bg_class_get(), parent)
42 FinishInstantiation();
45 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
46 /// Do not call this constructor directly.</summary>
47 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
48 protected WidgetPartBg(ConstructingHandle ch) : base(ch)
52 /// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.
53 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
54 /// <param name="wh">The native pointer to be wrapped.</param>
55 protected WidgetPartBg(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
59 /// <summary>Initializes a new instance of the <see cref="WidgetPartBg"/> class.
60 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
61 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
62 /// <param name="parent">The Efl.Object parent of this instance.</param>
63 protected WidgetPartBg(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
67 /// <summary>Image data has been preloaded.</summary>
68 public event EventHandler ImagePreloadEvt
72 lock (eflBindingEventLock)
74 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
76 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
79 EventArgs args = EventArgs.Empty;
82 value?.Invoke(obj, args);
86 Eina.Log.Error(e.ToString());
87 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
92 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
93 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
99 lock (eflBindingEventLock)
101 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
102 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
106 /// <summary>Method to raise event ImagePreloadEvt.</summary>
107 public void OnImagePreloadEvt(EventArgs e)
109 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_PRELOAD";
110 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
111 if (desc == IntPtr.Zero)
113 Eina.Log.Error($"Failed to get native event {key}");
117 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
119 /// <summary>Image was resized (its pixel data).</summary>
120 public event EventHandler ImageResizeEvt
124 lock (eflBindingEventLock)
126 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
128 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
131 EventArgs args = EventArgs.Empty;
134 value?.Invoke(obj, args);
138 Eina.Log.Error(e.ToString());
139 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
144 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
145 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
151 lock (eflBindingEventLock)
153 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
154 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
158 /// <summary>Method to raise event ImageResizeEvt.</summary>
159 public void OnImageResizeEvt(EventArgs e)
161 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_RESIZE";
162 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
163 if (desc == IntPtr.Zero)
165 Eina.Log.Error($"Failed to get native event {key}");
169 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
171 /// <summary>Image data has been unloaded (by some mechanism in EFL that threw out the original image data).</summary>
172 public event EventHandler ImageUnloadEvt
176 lock (eflBindingEventLock)
178 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
180 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
183 EventArgs args = EventArgs.Empty;
186 value?.Invoke(obj, args);
190 Eina.Log.Error(e.ToString());
191 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
196 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
197 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
203 lock (eflBindingEventLock)
205 string key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
206 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
210 /// <summary>Method to raise event ImageUnloadEvt.</summary>
211 public void OnImageUnloadEvt(EventArgs e)
213 var key = "_EFL_GFX_IMAGE_EVENT_IMAGE_UNLOAD";
214 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
215 if (desc == IntPtr.Zero)
217 Eina.Log.Error($"Failed to get native event {key}");
221 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
223 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
224 /// (Since EFL 1.22)</summary>
225 /// <returns>The handle to the <see cref="Eina.File"/> that will be used</returns>
226 virtual public Eina.File GetMmap() {
227 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
228 Eina.Error.RaiseIfUnhandledException();
231 /// <summary>Set the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
232 /// If mmap is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
233 /// (Since EFL 1.22)</summary>
234 /// <param name="f">The handle to the <see cref="Eina.File"/> that will be used</param>
235 /// <returns>0 on success, error code otherwise</returns>
236 virtual public Eina.Error SetMmap(Eina.File f) {
237 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_mmap_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),f);
238 Eina.Error.RaiseIfUnhandledException();
241 /// <summary>Retrieve the file path from where an object is to fetch the data.
242 /// You must not modify the strings on the returned pointers.
243 /// (Since EFL 1.22)</summary>
244 /// <returns>The file path.</returns>
245 virtual public System.String GetFile() {
246 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
247 Eina.Error.RaiseIfUnhandledException();
250 /// <summary>Set the file path from where an object will fetch the data.
251 /// If file is set during object construction, the object will automatically call <see cref="Efl.IFile.Load"/> during the finalize phase of construction.
252 /// (Since EFL 1.22)</summary>
253 /// <param name="file">The file path.</param>
254 /// <returns>0 on success, error code otherwise</returns>
255 virtual public Eina.Error SetFile(System.String file) {
256 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),file);
257 Eina.Error.RaiseIfUnhandledException();
260 /// <summary>Get the previously-set key which corresponds to the target data within a file.
261 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
263 /// You must not modify the strings on the returned pointers.
264 /// (Since EFL 1.22)</summary>
265 /// <returns>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</returns>
266 virtual public System.String GetKey() {
267 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_key_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
268 Eina.Error.RaiseIfUnhandledException();
271 /// <summary>Set the key which corresponds to the target data within a file.
272 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases.
273 /// (Since EFL 1.22)</summary>
274 /// <param name="key">The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</param>
275 virtual public void SetKey(System.String key) {
276 Efl.IFileConcrete.NativeMethods.efl_file_key_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),key);
277 Eina.Error.RaiseIfUnhandledException();
279 /// <summary>Get the load state of the object.
280 /// (Since EFL 1.22)</summary>
281 /// <returns><c>true</c> if the object is loaded, <c>false</c> otherwise.</returns>
282 virtual public bool GetLoaded() {
283 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_loaded_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
284 Eina.Error.RaiseIfUnhandledException();
287 /// <summary>Perform all necessary operations to open and load file data into the object using the <see cref="Efl.IFile.File"/> (or <see cref="Efl.IFile.Mmap"/>) and <see cref="Efl.IFile.Key"/> properties.
288 /// In the case where <see cref="Efl.IFile.SetFile"/> has been called on an object, this will internally open the file and call <see cref="Efl.IFile.SetMmap"/> on the object using the opened file handle.
290 /// Calling <see cref="Efl.IFile.Load"/> on an object which has already performed file operations based on the currently set properties will have no effect.
291 /// (Since EFL 1.22)</summary>
292 /// <returns>0 on success, error code otherwise</returns>
293 virtual public Eina.Error Load() {
294 var _ret_var = Efl.IFileConcrete.NativeMethods.efl_file_load_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
295 Eina.Error.RaiseIfUnhandledException();
298 /// <summary>Perform all necessary operations to unload file data from the object.
299 /// In the case where <see cref="Efl.IFile.SetMmap"/> has been externally called on an object, the file handle stored in the object will be preserved.
301 /// Calling <see cref="Efl.IFile.Unload"/> on an object which is not currently loaded will have no effect.
302 /// (Since EFL 1.22)</summary>
303 virtual public void Unload() {
304 Efl.IFileConcrete.NativeMethods.efl_file_unload_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
305 Eina.Error.RaiseIfUnhandledException();
307 /// <summary>Retrieves the general/main color of the given Evas object.
308 /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
310 /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
312 /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
314 /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
315 /// (Since EFL 1.22)</summary>
316 virtual public void GetColor(out int r, out int g, out int b, out int a) {
317 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out r, out g, out b, out a);
318 Eina.Error.RaiseIfUnhandledException();
320 /// <summary>Sets the general/main color of the given Evas object to the given one.
321 /// See also <see cref="Efl.Gfx.IColor.GetColor"/> (for an example)
323 /// These color values are expected to be premultiplied by alpha.
324 /// (Since EFL 1.22)</summary>
325 virtual public void SetColor(int r, int g, int b, int a) {
326 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),r, g, b, a);
327 Eina.Error.RaiseIfUnhandledException();
329 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
330 /// (Since EFL 1.22)</summary>
331 /// <returns>the hex color code.</returns>
332 virtual public System.String GetColorCode() {
333 var _ret_var = Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
334 Eina.Error.RaiseIfUnhandledException();
337 /// <summary>Set the color of given Evas object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_code_set(obj, "#FFCCAACC");
338 /// (Since EFL 1.22)</summary>
339 /// <param name="colorcode">the hex color code.</param>
340 virtual public void SetColorCode(System.String colorcode) {
341 Efl.Gfx.IColorConcrete.NativeMethods.efl_gfx_color_code_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),colorcode);
342 Eina.Error.RaiseIfUnhandledException();
344 /// <summary>Whether to use high-quality image scaling algorithm for this image.
345 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
347 /// <c>true</c> by default</summary>
348 /// <returns>Whether to use smooth scale or not.</returns>
349 virtual public bool GetSmoothScale() {
350 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
351 Eina.Error.RaiseIfUnhandledException();
354 /// <summary>Whether to use high-quality image scaling algorithm for this image.
355 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
357 /// <c>true</c> by default</summary>
358 /// <param name="smooth_scale">Whether to use smooth scale or not.</param>
359 virtual public void SetSmoothScale(bool smooth_scale) {
360 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_smooth_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),smooth_scale);
361 Eina.Error.RaiseIfUnhandledException();
363 /// <summary>Control how the image is scaled.</summary>
364 /// <returns>Image scale type</returns>
365 virtual public Efl.Gfx.ImageScaleType GetScaleType() {
366 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
367 Eina.Error.RaiseIfUnhandledException();
370 /// <summary>Control how the image is scaled.</summary>
371 /// <param name="scale_type">Image scale type</param>
372 virtual public void SetScaleType(Efl.Gfx.ImageScaleType scale_type) {
373 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_type_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale_type);
374 Eina.Error.RaiseIfUnhandledException();
376 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
377 /// <returns>Allow image upscaling</returns>
378 virtual public bool GetCanUpscale() {
379 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
380 Eina.Error.RaiseIfUnhandledException();
383 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
384 /// <param name="upscale">Allow image upscaling</param>
385 virtual public void SetCanUpscale(bool upscale) {
386 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_upscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),upscale);
387 Eina.Error.RaiseIfUnhandledException();
389 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
390 /// <returns>Allow image downscaling</returns>
391 virtual public bool GetCanDownscale() {
392 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
393 Eina.Error.RaiseIfUnhandledException();
396 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
397 /// <param name="downscale">Allow image downscaling</param>
398 virtual public void SetCanDownscale(bool downscale) {
399 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_can_downscale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),downscale);
400 Eina.Error.RaiseIfUnhandledException();
402 /// <summary>Returns 1.0 if not applicable (eg. height = 0).</summary>
403 /// <returns>The image's ratio.</returns>
404 virtual public double GetRatio() {
405 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_ratio_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
406 Eina.Error.RaiseIfUnhandledException();
409 /// <summary>Return the relative area enclosed inside the image where content is expected.
410 /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
412 /// The geometry of the area is expressed relative to the geometry of the object.</summary>
413 /// <returns>A rectangle inside the object boundary that where content is expected.</returns>
414 virtual public Eina.Rect GetContentRegion() {
415 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
416 Eina.Error.RaiseIfUnhandledException();
419 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
420 /// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
422 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
424 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
426 /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
428 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
429 /// <param name="l">The border's left width.</param>
430 /// <param name="r">The border's right width.</param>
431 /// <param name="t">The border's top height.</param>
432 /// <param name="b">The border's bottom height.</param>
433 virtual public void GetBorder(out int l, out int r, out int t, out int b) {
434 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out l, out r, out t, out b);
435 Eina.Error.RaiseIfUnhandledException();
437 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
438 /// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
440 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
442 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
444 /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
446 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
447 /// <param name="l">The border's left width.</param>
448 /// <param name="r">The border's right width.</param>
449 /// <param name="t">The border's top height.</param>
450 /// <param name="b">The border's bottom height.</param>
451 virtual public void SetBorder(int l, int r, int t, int b) {
452 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),l, r, t, b);
453 Eina.Error.RaiseIfUnhandledException();
455 /// <summary>Scaling factor applied to the image borders.
456 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
458 /// Default value is 1.0 (no scaling).</summary>
459 /// <returns>The scale factor.</returns>
460 virtual public double GetBorderScale() {
461 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
462 Eina.Error.RaiseIfUnhandledException();
465 /// <summary>Scaling factor applied to the image borders.
466 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
468 /// Default value is 1.0 (no scaling).</summary>
469 /// <param name="scale">The scale factor.</param>
470 virtual public void SetBorderScale(double scale) {
471 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_scale_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),scale);
472 Eina.Error.RaiseIfUnhandledException();
474 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
475 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
477 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
478 /// <returns>Fill mode of the center region.</returns>
479 virtual public Efl.Gfx.BorderFillMode GetBorderCenterFill() {
480 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
481 Eina.Error.RaiseIfUnhandledException();
484 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
485 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
487 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
488 /// <param name="fill">Fill mode of the center region.</param>
489 virtual public void SetBorderCenterFill(Efl.Gfx.BorderFillMode fill) {
490 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_border_center_fill_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),fill);
491 Eina.Error.RaiseIfUnhandledException();
493 /// <summary>This property defines the stretchable pixels region of an image.
494 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
495 /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
496 /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
497 virtual public void GetStretchRegion(out Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, out Eina.Iterator<Efl.Gfx.ImageStretchRegion> vertical) {
498 System.IntPtr _out_horizontal = System.IntPtr.Zero;
499 System.IntPtr _out_vertical = System.IntPtr.Zero;
500 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out _out_horizontal, out _out_vertical);
501 Eina.Error.RaiseIfUnhandledException();
502 horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_horizontal, false);
503 vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(_out_vertical, false);
505 /// <summary>This property defines the stretchable pixels region of an image.
506 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
507 /// <param name="horizontal">Representation of area that are stretchable in the image horizontal space.</param>
508 /// <param name="vertical">Representation of area that are stretchable in the image vertical space.</param>
509 /// <returns>return an error code if the stretch_region provided are incorrect.</returns>
510 virtual public Eina.Error SetStretchRegion(Eina.Iterator<Efl.Gfx.ImageStretchRegion> horizontal, Eina.Iterator<Efl.Gfx.ImageStretchRegion> vertical) {
511 var _in_horizontal = horizontal.Handle;
512 var _in_vertical = vertical.Handle;
513 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_stretch_region_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_horizontal, _in_vertical);
514 Eina.Error.RaiseIfUnhandledException();
517 /// <summary>This represents the size of the original image in pixels.
518 /// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
520 /// This is a read-only property, and may return 0x0.</summary>
521 /// <returns>The size in pixels.</returns>
522 virtual public Eina.Size2D GetImageSize() {
523 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_size_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
524 Eina.Error.RaiseIfUnhandledException();
527 /// <summary>Get the content hint setting of a given image object of the canvas.
528 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
529 /// <returns>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></returns>
530 virtual public Efl.Gfx.ImageContentHint GetContentHint() {
531 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
532 Eina.Error.RaiseIfUnhandledException();
535 /// <summary>Set the content hint setting of a given image object of the canvas.
536 /// This function sets the content hint value of the given image of the canvas. For example, if you're on the GL engine and your driver implementation supports it, setting this hint to #EVAS_IMAGE_CONTENT_HINT_DYNAMIC will make it need zero copies at texture upload time, which is an "expensive" operation.</summary>
537 /// <param name="hint">Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></param>
538 virtual public void SetContentHint(Efl.Gfx.ImageContentHint hint) {
539 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_content_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
540 Eina.Error.RaiseIfUnhandledException();
542 /// <summary>Get the scale hint of a given image of the canvas.
543 /// This function returns the scale hint value of the given image object of the canvas.</summary>
544 /// <returns>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></returns>
545 virtual public Efl.Gfx.ImageScaleHint GetScaleHint() {
546 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
547 Eina.Error.RaiseIfUnhandledException();
550 /// <summary>Set the scale hint of a given image of the canvas.
551 /// This function sets the scale hint value of the given image object in the canvas, which will affect how Evas is to cache scaled versions of its original source image.</summary>
552 /// <param name="hint">Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></param>
553 virtual public void SetScaleHint(Efl.Gfx.ImageScaleHint hint) {
554 Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_scale_hint_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),hint);
555 Eina.Error.RaiseIfUnhandledException();
557 /// <summary>Gets the (last) file loading error for a given object.</summary>
558 /// <returns>The load error code.</returns>
559 virtual public Eina.Error GetImageLoadError() {
560 var _ret_var = Efl.Gfx.IImageConcrete.NativeMethods.efl_gfx_image_load_error_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
561 Eina.Error.RaiseIfUnhandledException();
564 /// <summary>Get the mmaped file from where an object will fetch the real data (it must be an <see cref="Eina.File"/>).
565 /// (Since EFL 1.22)</summary>
566 /// <value>The handle to the <see cref="Eina.File"/> that will be used</value>
567 public Eina.File Mmap {
568 get { return GetMmap(); }
569 set { SetMmap(value); }
571 /// <summary>Retrieve the file path from where an object is to fetch the data.
572 /// You must not modify the strings on the returned pointers.
573 /// (Since EFL 1.22)</summary>
574 /// <value>The file path.</value>
575 public System.String File {
576 get { return GetFile(); }
577 set { SetFile(value); }
579 /// <summary>Get the previously-set key which corresponds to the target data within a file.
580 /// Some filetypes can contain multiple data streams which are indexed by a key. Use this property for such cases (See for example <see cref="Efl.Ui.Image"/> or <see cref="Efl.Ui.Layout"/>).
582 /// You must not modify the strings on the returned pointers.
583 /// (Since EFL 1.22)</summary>
584 /// <value>The group that the data belongs to. See the class documentation for particular implementations of this interface to see how this property is used.</value>
585 public System.String Key {
586 get { return GetKey(); }
587 set { SetKey(value); }
589 /// <summary>Get the load state of the object.
590 /// (Since EFL 1.22)</summary>
591 /// <value><c>true</c> if the object is loaded, <c>false</c> otherwise.</value>
593 get { return GetLoaded(); }
595 /// <summary>Retrieves the general/main color of the given Evas object.
596 /// Retrieves the main color's RGB component (and alpha channel) values, which range from 0 to 255. For the alpha channel, which defines the object's transparency level, 0 means totally transparent, while 255 means opaque. These color values are premultiplied by the alpha value.
598 /// Usually youll use this attribute for text and rectangle objects, where the main color is their unique one. If set for objects which themselves have colors, like the images one, those colors get modulated by this one.
600 /// All newly created Evas rectangles get the default color values of 255 255 255 255 (opaque white).
602 /// Use null pointers on the components you're not interested in: they'll be ignored by the function.
603 /// (Since EFL 1.22)</summary>
604 public (int, int, int, int) Color {
606 int _out_r = default(int);
607 int _out_g = default(int);
608 int _out_b = default(int);
609 int _out_a = default(int);
610 GetColor(out _out_r,out _out_g,out _out_b,out _out_a);
611 return (_out_r,_out_g,_out_b,_out_a);
613 set { SetColor( value.Item1, value.Item2, value.Item3, value.Item4); }
615 /// <summary>Get hex color code of given Evas object. This returns a short lived hex color code string.
616 /// (Since EFL 1.22)</summary>
617 /// <value>the hex color code.</value>
618 public System.String ColorCode {
619 get { return GetColorCode(); }
620 set { SetColorCode(value); }
622 /// <summary>Whether to use high-quality image scaling algorithm for this image.
623 /// When enabled, a higher quality image scaling algorithm is used when scaling images to sizes other than the source image's original one. This gives better results but is more computationally expensive.
625 /// <c>true</c> by default</summary>
626 /// <value>Whether to use smooth scale or not.</value>
627 public bool SmoothScale {
628 get { return GetSmoothScale(); }
629 set { SetSmoothScale(value); }
631 /// <summary>Control how the image is scaled.</summary>
632 /// <value>Image scale type</value>
633 public Efl.Gfx.ImageScaleType ScaleType {
634 get { return GetScaleType(); }
635 set { SetScaleType(value); }
637 /// <summary>If <c>true</c>, the image may be scaled to a larger size. If <c>false</c>, the image will never be resized larger than its native size. This is set to <c>true</c> by default.</summary>
638 /// <value>Allow image upscaling</value>
639 public bool CanUpscale {
640 get { return GetCanUpscale(); }
641 set { SetCanUpscale(value); }
643 /// <summary>If <c>true</c>, the image may be scaled to a smaller size. If <c>false</c>, the image will never be resized smaller than its native size. This is set to <c>true</c> by default.</summary>
644 /// <value>Allow image downscaling</value>
645 public bool CanDownscale {
646 get { return GetCanDownscale(); }
647 set { SetCanDownscale(value); }
649 /// <summary>The native width/height ratio of the image.</summary>
650 /// <value>The image's ratio.</value>
651 public double Ratio {
652 get { return GetRatio(); }
654 /// <summary>Return the relative area enclosed inside the image where content is expected.
655 /// We do expect content to be inside the limit defined by the border or inside the stretch region. If a stretch region is provided, the content region will encompass the non strechable area that are surrounded by stretchable area. If no border and no stretch region is set, they are assumed to be zero and the full object geometry is where content can be layout on top. The area size change with the object size.
657 /// The geometry of the area is expressed relative to the geometry of the object.</summary>
658 /// <value>A rectangle inside the object boundary that where content is expected.</value>
659 public Eina.Rect ContentRegion {
660 get { return GetContentRegion(); }
662 /// <summary>Dimensions of this image's border, a region that does not scale with the center area.
663 /// When EFL renders an image, its source may be scaled to fit the size of the object. This function sets an area from the borders of the image inwards which is not to be scaled. This function is useful for making frames and for widget theming, where, for example, buttons may be of varying sizes, but their border size must remain constant.
665 /// The units used for <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> are canvas units (pixels).
667 /// Note: The border region itself may be scaled by the <see cref="Efl.Gfx.IImage.SetBorderScale"/> function.
669 /// Note: By default, image objects have no borders set, i.e. <c>l</c>, <c>r</c>, <c>t</c> and <c>b</c> start as 0.
671 /// Note: Similar to the concepts of 9-patch images or cap insets.</summary>
672 /// <value>The border's left width.</value>
673 public (int, int, int, int) Border {
675 int _out_l = default(int);
676 int _out_r = default(int);
677 int _out_t = default(int);
678 int _out_b = default(int);
679 GetBorder(out _out_l,out _out_r,out _out_t,out _out_b);
680 return (_out_l,_out_r,_out_t,_out_b);
682 set { SetBorder( value.Item1, value.Item2, value.Item3, value.Item4); }
684 /// <summary>Scaling factor applied to the image borders.
685 /// This value multiplies the size of the <see cref="Efl.Gfx.IImage.GetBorder"/> when scaling an object.
687 /// Default value is 1.0 (no scaling).</summary>
688 /// <value>The scale factor.</value>
689 public double BorderScale {
690 get { return GetBorderScale(); }
691 set { SetBorderScale(value); }
693 /// <summary>Specifies how the center part of the object (not the borders) should be drawn when EFL is rendering it.
694 /// This function sets how the center part of the image object's source image is to be drawn, which must be one of the values in <see cref="Efl.Gfx.BorderFillMode"/>. By center we mean the complementary part of that defined by <see cref="Efl.Gfx.IImage.GetBorder"/>. This is very useful for making frames and decorations. You would most probably also be using a filled image (as in <see cref="Efl.Gfx.IFill.FillAuto"/>) to use as a frame.
696 /// The default value is <see cref="Efl.Gfx.BorderFillMode.Default"/>, ie. render and scale the center area, respecting its transparency.</summary>
697 /// <value>Fill mode of the center region.</value>
698 public Efl.Gfx.BorderFillMode BorderCenterFill {
699 get { return GetBorderCenterFill(); }
700 set { SetBorderCenterFill(value); }
702 /// <summary>This property defines the stretchable pixels region of an image.
703 /// When the regions are set by the user, the method will walk the iterators once and then destroy them. When the regions are retrieved by the user, it is his responsibility to destroy the iterators.. It will remember the information for the lifetime of the object. It will ignore all value of <see cref="Efl.Gfx.IImage.GetBorder"/>, <see cref="Efl.Gfx.IImage.BorderScale"/> and <see cref="Efl.Gfx.IImage.BorderCenterFill"/> . To reset the object you can just pass <c>null</c> to both horizontal and vertical at the same time.</summary>
704 /// <value>Representation of area that are stretchable in the image horizontal space.</value>
705 public (Eina.Iterator<Efl.Gfx.ImageStretchRegion>, Eina.Iterator<Efl.Gfx.ImageStretchRegion>) StretchRegion {
707 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
708 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
709 GetStretchRegion(out _out_horizontal,out _out_vertical);
710 return (_out_horizontal,_out_vertical);
712 set { SetStretchRegion( value.Item1, value.Item2); }
714 /// <summary>This represents the size of the original image in pixels.
715 /// This may be different from the actual geometry on screen or even the size of the loaded pixel buffer. This is the size of the image as stored in the original file.
717 /// This is a read-only property, and may return 0x0.</summary>
718 /// <value>The size in pixels.</value>
719 public Eina.Size2D ImageSize {
720 get { return GetImageSize(); }
722 /// <summary>Get the content hint setting of a given image object of the canvas.
723 /// This returns #EVAS_IMAGE_CONTENT_HINT_NONE on error.</summary>
724 /// <value>Dynamic or static content hint, see <see cref="Efl.Gfx.ImageContentHint"/></value>
725 public Efl.Gfx.ImageContentHint ContentHint {
726 get { return GetContentHint(); }
727 set { SetContentHint(value); }
729 /// <summary>Get the scale hint of a given image of the canvas.
730 /// This function returns the scale hint value of the given image object of the canvas.</summary>
731 /// <value>Scalable or static size hint, see <see cref="Efl.Gfx.ImageScaleHint"/></value>
732 public Efl.Gfx.ImageScaleHint ScaleHint {
733 get { return GetScaleHint(); }
734 set { SetScaleHint(value); }
736 /// <summary>Gets the (last) file loading error for a given object.</summary>
737 /// <value>The load error code.</value>
738 public Eina.Error ImageLoadError {
739 get { return GetImageLoadError(); }
741 private static IntPtr GetEflClassStatic()
743 return Efl.Ui.WidgetPartBg.efl_ui_widget_part_bg_class_get();
745 /// <summary>Wrapper for native methods and virtual method delegates.
746 /// For internal use by generated code only.</summary>
747 public new class NativeMethods : Efl.Ui.WidgetPart.NativeMethods
749 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
750 /// <summary>Gets the list of Eo operations to override.</summary>
751 /// <returns>The list of Eo operations to be overload.</returns>
752 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
754 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
755 var methods = Efl.Eo.Globals.GetUserMethods(type);
757 if (efl_file_mmap_get_static_delegate == null)
759 efl_file_mmap_get_static_delegate = new efl_file_mmap_get_delegate(mmap_get);
762 if (methods.FirstOrDefault(m => m.Name == "GetMmap") != null)
764 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_get_static_delegate) });
767 if (efl_file_mmap_set_static_delegate == null)
769 efl_file_mmap_set_static_delegate = new efl_file_mmap_set_delegate(mmap_set);
772 if (methods.FirstOrDefault(m => m.Name == "SetMmap") != null)
774 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_mmap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_mmap_set_static_delegate) });
777 if (efl_file_get_static_delegate == null)
779 efl_file_get_static_delegate = new efl_file_get_delegate(file_get);
782 if (methods.FirstOrDefault(m => m.Name == "GetFile") != null)
784 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_get_static_delegate) });
787 if (efl_file_set_static_delegate == null)
789 efl_file_set_static_delegate = new efl_file_set_delegate(file_set);
792 if (methods.FirstOrDefault(m => m.Name == "SetFile") != null)
794 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_set_static_delegate) });
797 if (efl_file_key_get_static_delegate == null)
799 efl_file_key_get_static_delegate = new efl_file_key_get_delegate(key_get);
802 if (methods.FirstOrDefault(m => m.Name == "GetKey") != null)
804 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_get_static_delegate) });
807 if (efl_file_key_set_static_delegate == null)
809 efl_file_key_set_static_delegate = new efl_file_key_set_delegate(key_set);
812 if (methods.FirstOrDefault(m => m.Name == "SetKey") != null)
814 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_key_set"), func = Marshal.GetFunctionPointerForDelegate(efl_file_key_set_static_delegate) });
817 if (efl_file_loaded_get_static_delegate == null)
819 efl_file_loaded_get_static_delegate = new efl_file_loaded_get_delegate(loaded_get);
822 if (methods.FirstOrDefault(m => m.Name == "GetLoaded") != null)
824 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_loaded_get"), func = Marshal.GetFunctionPointerForDelegate(efl_file_loaded_get_static_delegate) });
827 if (efl_file_load_static_delegate == null)
829 efl_file_load_static_delegate = new efl_file_load_delegate(load);
832 if (methods.FirstOrDefault(m => m.Name == "Load") != null)
834 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_load"), func = Marshal.GetFunctionPointerForDelegate(efl_file_load_static_delegate) });
837 if (efl_file_unload_static_delegate == null)
839 efl_file_unload_static_delegate = new efl_file_unload_delegate(unload);
842 if (methods.FirstOrDefault(m => m.Name == "Unload") != null)
844 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_file_unload"), func = Marshal.GetFunctionPointerForDelegate(efl_file_unload_static_delegate) });
847 if (efl_gfx_color_get_static_delegate == null)
849 efl_gfx_color_get_static_delegate = new efl_gfx_color_get_delegate(color_get);
852 if (methods.FirstOrDefault(m => m.Name == "GetColor") != null)
854 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_get_static_delegate) });
857 if (efl_gfx_color_set_static_delegate == null)
859 efl_gfx_color_set_static_delegate = new efl_gfx_color_set_delegate(color_set);
862 if (methods.FirstOrDefault(m => m.Name == "SetColor") != null)
864 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_set_static_delegate) });
867 if (efl_gfx_color_code_get_static_delegate == null)
869 efl_gfx_color_code_get_static_delegate = new efl_gfx_color_code_get_delegate(color_code_get);
872 if (methods.FirstOrDefault(m => m.Name == "GetColorCode") != null)
874 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_get_static_delegate) });
877 if (efl_gfx_color_code_set_static_delegate == null)
879 efl_gfx_color_code_set_static_delegate = new efl_gfx_color_code_set_delegate(color_code_set);
882 if (methods.FirstOrDefault(m => m.Name == "SetColorCode") != null)
884 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_color_code_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_color_code_set_static_delegate) });
887 if (efl_gfx_image_smooth_scale_get_static_delegate == null)
889 efl_gfx_image_smooth_scale_get_static_delegate = new efl_gfx_image_smooth_scale_get_delegate(smooth_scale_get);
892 if (methods.FirstOrDefault(m => m.Name == "GetSmoothScale") != null)
894 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_get_static_delegate) });
897 if (efl_gfx_image_smooth_scale_set_static_delegate == null)
899 efl_gfx_image_smooth_scale_set_static_delegate = new efl_gfx_image_smooth_scale_set_delegate(smooth_scale_set);
902 if (methods.FirstOrDefault(m => m.Name == "SetSmoothScale") != null)
904 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_smooth_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_smooth_scale_set_static_delegate) });
907 if (efl_gfx_image_scale_type_get_static_delegate == null)
909 efl_gfx_image_scale_type_get_static_delegate = new efl_gfx_image_scale_type_get_delegate(scale_type_get);
912 if (methods.FirstOrDefault(m => m.Name == "GetScaleType") != null)
914 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_get_static_delegate) });
917 if (efl_gfx_image_scale_type_set_static_delegate == null)
919 efl_gfx_image_scale_type_set_static_delegate = new efl_gfx_image_scale_type_set_delegate(scale_type_set);
922 if (methods.FirstOrDefault(m => m.Name == "SetScaleType") != null)
924 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_type_set_static_delegate) });
927 if (efl_gfx_image_can_upscale_get_static_delegate == null)
929 efl_gfx_image_can_upscale_get_static_delegate = new efl_gfx_image_can_upscale_get_delegate(can_upscale_get);
932 if (methods.FirstOrDefault(m => m.Name == "GetCanUpscale") != null)
934 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_get_static_delegate) });
937 if (efl_gfx_image_can_upscale_set_static_delegate == null)
939 efl_gfx_image_can_upscale_set_static_delegate = new efl_gfx_image_can_upscale_set_delegate(can_upscale_set);
942 if (methods.FirstOrDefault(m => m.Name == "SetCanUpscale") != null)
944 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_upscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_upscale_set_static_delegate) });
947 if (efl_gfx_image_can_downscale_get_static_delegate == null)
949 efl_gfx_image_can_downscale_get_static_delegate = new efl_gfx_image_can_downscale_get_delegate(can_downscale_get);
952 if (methods.FirstOrDefault(m => m.Name == "GetCanDownscale") != null)
954 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_get_static_delegate) });
957 if (efl_gfx_image_can_downscale_set_static_delegate == null)
959 efl_gfx_image_can_downscale_set_static_delegate = new efl_gfx_image_can_downscale_set_delegate(can_downscale_set);
962 if (methods.FirstOrDefault(m => m.Name == "SetCanDownscale") != null)
964 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_can_downscale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_can_downscale_set_static_delegate) });
967 if (efl_gfx_image_ratio_get_static_delegate == null)
969 efl_gfx_image_ratio_get_static_delegate = new efl_gfx_image_ratio_get_delegate(ratio_get);
972 if (methods.FirstOrDefault(m => m.Name == "GetRatio") != null)
974 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_ratio_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_ratio_get_static_delegate) });
977 if (efl_gfx_image_content_region_get_static_delegate == null)
979 efl_gfx_image_content_region_get_static_delegate = new efl_gfx_image_content_region_get_delegate(content_region_get);
982 if (methods.FirstOrDefault(m => m.Name == "GetContentRegion") != null)
984 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_region_get_static_delegate) });
987 if (efl_gfx_image_border_get_static_delegate == null)
989 efl_gfx_image_border_get_static_delegate = new efl_gfx_image_border_get_delegate(border_get);
992 if (methods.FirstOrDefault(m => m.Name == "GetBorder") != null)
994 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_get_static_delegate) });
997 if (efl_gfx_image_border_set_static_delegate == null)
999 efl_gfx_image_border_set_static_delegate = new efl_gfx_image_border_set_delegate(border_set);
1002 if (methods.FirstOrDefault(m => m.Name == "SetBorder") != null)
1004 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_set_static_delegate) });
1007 if (efl_gfx_image_border_scale_get_static_delegate == null)
1009 efl_gfx_image_border_scale_get_static_delegate = new efl_gfx_image_border_scale_get_delegate(border_scale_get);
1012 if (methods.FirstOrDefault(m => m.Name == "GetBorderScale") != null)
1014 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_get_static_delegate) });
1017 if (efl_gfx_image_border_scale_set_static_delegate == null)
1019 efl_gfx_image_border_scale_set_static_delegate = new efl_gfx_image_border_scale_set_delegate(border_scale_set);
1022 if (methods.FirstOrDefault(m => m.Name == "SetBorderScale") != null)
1024 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_scale_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_scale_set_static_delegate) });
1027 if (efl_gfx_image_border_center_fill_get_static_delegate == null)
1029 efl_gfx_image_border_center_fill_get_static_delegate = new efl_gfx_image_border_center_fill_get_delegate(border_center_fill_get);
1032 if (methods.FirstOrDefault(m => m.Name == "GetBorderCenterFill") != null)
1034 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_get_static_delegate) });
1037 if (efl_gfx_image_border_center_fill_set_static_delegate == null)
1039 efl_gfx_image_border_center_fill_set_static_delegate = new efl_gfx_image_border_center_fill_set_delegate(border_center_fill_set);
1042 if (methods.FirstOrDefault(m => m.Name == "SetBorderCenterFill") != null)
1044 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_border_center_fill_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_border_center_fill_set_static_delegate) });
1047 if (efl_gfx_image_stretch_region_get_static_delegate == null)
1049 efl_gfx_image_stretch_region_get_static_delegate = new efl_gfx_image_stretch_region_get_delegate(stretch_region_get);
1052 if (methods.FirstOrDefault(m => m.Name == "GetStretchRegion") != null)
1054 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_get_static_delegate) });
1057 if (efl_gfx_image_stretch_region_set_static_delegate == null)
1059 efl_gfx_image_stretch_region_set_static_delegate = new efl_gfx_image_stretch_region_set_delegate(stretch_region_set);
1062 if (methods.FirstOrDefault(m => m.Name == "SetStretchRegion") != null)
1064 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_stretch_region_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_stretch_region_set_static_delegate) });
1067 if (efl_gfx_image_size_get_static_delegate == null)
1069 efl_gfx_image_size_get_static_delegate = new efl_gfx_image_size_get_delegate(image_size_get);
1072 if (methods.FirstOrDefault(m => m.Name == "GetImageSize") != null)
1074 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_size_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_size_get_static_delegate) });
1077 if (efl_gfx_image_content_hint_get_static_delegate == null)
1079 efl_gfx_image_content_hint_get_static_delegate = new efl_gfx_image_content_hint_get_delegate(content_hint_get);
1082 if (methods.FirstOrDefault(m => m.Name == "GetContentHint") != null)
1084 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_get_static_delegate) });
1087 if (efl_gfx_image_content_hint_set_static_delegate == null)
1089 efl_gfx_image_content_hint_set_static_delegate = new efl_gfx_image_content_hint_set_delegate(content_hint_set);
1092 if (methods.FirstOrDefault(m => m.Name == "SetContentHint") != null)
1094 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_content_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_content_hint_set_static_delegate) });
1097 if (efl_gfx_image_scale_hint_get_static_delegate == null)
1099 efl_gfx_image_scale_hint_get_static_delegate = new efl_gfx_image_scale_hint_get_delegate(scale_hint_get);
1102 if (methods.FirstOrDefault(m => m.Name == "GetScaleHint") != null)
1104 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_get_static_delegate) });
1107 if (efl_gfx_image_scale_hint_set_static_delegate == null)
1109 efl_gfx_image_scale_hint_set_static_delegate = new efl_gfx_image_scale_hint_set_delegate(scale_hint_set);
1112 if (methods.FirstOrDefault(m => m.Name == "SetScaleHint") != null)
1114 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_scale_hint_set"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_scale_hint_set_static_delegate) });
1117 if (efl_gfx_image_load_error_get_static_delegate == null)
1119 efl_gfx_image_load_error_get_static_delegate = new efl_gfx_image_load_error_get_delegate(image_load_error_get);
1122 if (methods.FirstOrDefault(m => m.Name == "GetImageLoadError") != null)
1124 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_gfx_image_load_error_get"), func = Marshal.GetFunctionPointerForDelegate(efl_gfx_image_load_error_get_static_delegate) });
1127 descs.AddRange(base.GetEoOps(type));
1130 /// <summary>Returns the Eo class for the native methods of this class.</summary>
1131 /// <returns>The native class pointer.</returns>
1132 public override IntPtr GetEflClass()
1134 return Efl.Ui.WidgetPartBg.efl_ui_widget_part_bg_class_get();
1137 #pragma warning disable CA1707, CS1591, SA1300, SA1600
1140 private delegate Eina.File efl_file_mmap_get_delegate(System.IntPtr obj, System.IntPtr pd);
1143 public delegate Eina.File efl_file_mmap_get_api_delegate(System.IntPtr obj);
1145 public static Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate> efl_file_mmap_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_get_api_delegate>(Module, "efl_file_mmap_get");
1147 private static Eina.File mmap_get(System.IntPtr obj, System.IntPtr pd)
1149 Eina.Log.Debug("function efl_file_mmap_get was called");
1150 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1153 Eina.File _ret_var = default(Eina.File);
1156 _ret_var = ((WidgetPartBg)ws.Target).GetMmap();
1160 Eina.Log.Warning($"Callback error: {e.ToString()}");
1161 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1169 return efl_file_mmap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1173 private static efl_file_mmap_get_delegate efl_file_mmap_get_static_delegate;
1176 private delegate Eina.Error efl_file_mmap_set_delegate(System.IntPtr obj, System.IntPtr pd, Eina.File f);
1179 public delegate Eina.Error efl_file_mmap_set_api_delegate(System.IntPtr obj, Eina.File f);
1181 public static Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate> efl_file_mmap_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_mmap_set_api_delegate>(Module, "efl_file_mmap_set");
1183 private static Eina.Error mmap_set(System.IntPtr obj, System.IntPtr pd, Eina.File f)
1185 Eina.Log.Debug("function efl_file_mmap_set was called");
1186 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1189 Eina.Error _ret_var = default(Eina.Error);
1192 _ret_var = ((WidgetPartBg)ws.Target).SetMmap(f);
1196 Eina.Log.Warning($"Callback error: {e.ToString()}");
1197 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1205 return efl_file_mmap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), f);
1209 private static efl_file_mmap_set_delegate efl_file_mmap_set_static_delegate;
1211 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1212 private delegate System.String efl_file_get_delegate(System.IntPtr obj, System.IntPtr pd);
1214 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1215 public delegate System.String efl_file_get_api_delegate(System.IntPtr obj);
1217 public static Efl.Eo.FunctionWrapper<efl_file_get_api_delegate> efl_file_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_get_api_delegate>(Module, "efl_file_get");
1219 private static System.String file_get(System.IntPtr obj, System.IntPtr pd)
1221 Eina.Log.Debug("function efl_file_get was called");
1222 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1225 System.String _ret_var = default(System.String);
1228 _ret_var = ((WidgetPartBg)ws.Target).GetFile();
1232 Eina.Log.Warning($"Callback error: {e.ToString()}");
1233 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1241 return efl_file_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1245 private static efl_file_get_delegate efl_file_get_static_delegate;
1248 private delegate Eina.Error efl_file_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
1251 public delegate Eina.Error efl_file_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String file);
1253 public static Efl.Eo.FunctionWrapper<efl_file_set_api_delegate> efl_file_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_set_api_delegate>(Module, "efl_file_set");
1255 private static Eina.Error file_set(System.IntPtr obj, System.IntPtr pd, System.String file)
1257 Eina.Log.Debug("function efl_file_set was called");
1258 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1261 Eina.Error _ret_var = default(Eina.Error);
1264 _ret_var = ((WidgetPartBg)ws.Target).SetFile(file);
1268 Eina.Log.Warning($"Callback error: {e.ToString()}");
1269 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1277 return efl_file_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), file);
1281 private static efl_file_set_delegate efl_file_set_static_delegate;
1283 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1284 private delegate System.String efl_file_key_get_delegate(System.IntPtr obj, System.IntPtr pd);
1286 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1287 public delegate System.String efl_file_key_get_api_delegate(System.IntPtr obj);
1289 public static Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate> efl_file_key_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_get_api_delegate>(Module, "efl_file_key_get");
1291 private static System.String key_get(System.IntPtr obj, System.IntPtr pd)
1293 Eina.Log.Debug("function efl_file_key_get was called");
1294 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1297 System.String _ret_var = default(System.String);
1300 _ret_var = ((WidgetPartBg)ws.Target).GetKey();
1304 Eina.Log.Warning($"Callback error: {e.ToString()}");
1305 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1313 return efl_file_key_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1317 private static efl_file_key_get_delegate efl_file_key_get_static_delegate;
1320 private delegate void efl_file_key_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1323 public delegate void efl_file_key_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String key);
1325 public static Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate> efl_file_key_set_ptr = new Efl.Eo.FunctionWrapper<efl_file_key_set_api_delegate>(Module, "efl_file_key_set");
1327 private static void key_set(System.IntPtr obj, System.IntPtr pd, System.String key)
1329 Eina.Log.Debug("function efl_file_key_set was called");
1330 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1336 ((WidgetPartBg)ws.Target).SetKey(key);
1340 Eina.Log.Warning($"Callback error: {e.ToString()}");
1341 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1348 efl_file_key_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), key);
1352 private static efl_file_key_set_delegate efl_file_key_set_static_delegate;
1354 [return: MarshalAs(UnmanagedType.U1)]
1355 private delegate bool efl_file_loaded_get_delegate(System.IntPtr obj, System.IntPtr pd);
1357 [return: MarshalAs(UnmanagedType.U1)]
1358 public delegate bool efl_file_loaded_get_api_delegate(System.IntPtr obj);
1360 public static Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate> efl_file_loaded_get_ptr = new Efl.Eo.FunctionWrapper<efl_file_loaded_get_api_delegate>(Module, "efl_file_loaded_get");
1362 private static bool loaded_get(System.IntPtr obj, System.IntPtr pd)
1364 Eina.Log.Debug("function efl_file_loaded_get was called");
1365 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1368 bool _ret_var = default(bool);
1371 _ret_var = ((WidgetPartBg)ws.Target).GetLoaded();
1375 Eina.Log.Warning($"Callback error: {e.ToString()}");
1376 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1384 return efl_file_loaded_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1388 private static efl_file_loaded_get_delegate efl_file_loaded_get_static_delegate;
1391 private delegate Eina.Error efl_file_load_delegate(System.IntPtr obj, System.IntPtr pd);
1394 public delegate Eina.Error efl_file_load_api_delegate(System.IntPtr obj);
1396 public static Efl.Eo.FunctionWrapper<efl_file_load_api_delegate> efl_file_load_ptr = new Efl.Eo.FunctionWrapper<efl_file_load_api_delegate>(Module, "efl_file_load");
1398 private static Eina.Error load(System.IntPtr obj, System.IntPtr pd)
1400 Eina.Log.Debug("function efl_file_load was called");
1401 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1404 Eina.Error _ret_var = default(Eina.Error);
1407 _ret_var = ((WidgetPartBg)ws.Target).Load();
1411 Eina.Log.Warning($"Callback error: {e.ToString()}");
1412 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1420 return efl_file_load_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1424 private static efl_file_load_delegate efl_file_load_static_delegate;
1427 private delegate void efl_file_unload_delegate(System.IntPtr obj, System.IntPtr pd);
1430 public delegate void efl_file_unload_api_delegate(System.IntPtr obj);
1432 public static Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate> efl_file_unload_ptr = new Efl.Eo.FunctionWrapper<efl_file_unload_api_delegate>(Module, "efl_file_unload");
1434 private static void unload(System.IntPtr obj, System.IntPtr pd)
1436 Eina.Log.Debug("function efl_file_unload was called");
1437 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1443 ((WidgetPartBg)ws.Target).Unload();
1447 Eina.Log.Warning($"Callback error: {e.ToString()}");
1448 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1455 efl_file_unload_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1459 private static efl_file_unload_delegate efl_file_unload_static_delegate;
1462 private delegate void efl_gfx_color_get_delegate(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a);
1465 public delegate void efl_gfx_color_get_api_delegate(System.IntPtr obj, out int r, out int g, out int b, out int a);
1467 public static Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate> efl_gfx_color_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_get_api_delegate>(Module, "efl_gfx_color_get");
1469 private static void color_get(System.IntPtr obj, System.IntPtr pd, out int r, out int g, out int b, out int a)
1471 Eina.Log.Debug("function efl_gfx_color_get was called");
1472 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1475 r = default(int); g = default(int); b = default(int); a = default(int);
1478 ((WidgetPartBg)ws.Target).GetColor(out r, out g, out b, out a);
1482 Eina.Log.Warning($"Callback error: {e.ToString()}");
1483 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1490 efl_gfx_color_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out r, out g, out b, out a);
1494 private static efl_gfx_color_get_delegate efl_gfx_color_get_static_delegate;
1497 private delegate void efl_gfx_color_set_delegate(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a);
1500 public delegate void efl_gfx_color_set_api_delegate(System.IntPtr obj, int r, int g, int b, int a);
1502 public static Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate> efl_gfx_color_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_set_api_delegate>(Module, "efl_gfx_color_set");
1504 private static void color_set(System.IntPtr obj, System.IntPtr pd, int r, int g, int b, int a)
1506 Eina.Log.Debug("function efl_gfx_color_set was called");
1507 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1513 ((WidgetPartBg)ws.Target).SetColor(r, g, b, a);
1517 Eina.Log.Warning($"Callback error: {e.ToString()}");
1518 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1525 efl_gfx_color_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), r, g, b, a);
1529 private static efl_gfx_color_set_delegate efl_gfx_color_set_static_delegate;
1531 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1532 private delegate System.String efl_gfx_color_code_get_delegate(System.IntPtr obj, System.IntPtr pd);
1534 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1535 public delegate System.String efl_gfx_color_code_get_api_delegate(System.IntPtr obj);
1537 public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate> efl_gfx_color_code_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_get_api_delegate>(Module, "efl_gfx_color_code_get");
1539 private static System.String color_code_get(System.IntPtr obj, System.IntPtr pd)
1541 Eina.Log.Debug("function efl_gfx_color_code_get was called");
1542 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1545 System.String _ret_var = default(System.String);
1548 _ret_var = ((WidgetPartBg)ws.Target).GetColorCode();
1552 Eina.Log.Warning($"Callback error: {e.ToString()}");
1553 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1561 return efl_gfx_color_code_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1565 private static efl_gfx_color_code_get_delegate efl_gfx_color_code_get_static_delegate;
1568 private delegate void efl_gfx_color_code_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
1571 public delegate void efl_gfx_color_code_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String colorcode);
1573 public static Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate> efl_gfx_color_code_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_color_code_set_api_delegate>(Module, "efl_gfx_color_code_set");
1575 private static void color_code_set(System.IntPtr obj, System.IntPtr pd, System.String colorcode)
1577 Eina.Log.Debug("function efl_gfx_color_code_set was called");
1578 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1584 ((WidgetPartBg)ws.Target).SetColorCode(colorcode);
1588 Eina.Log.Warning($"Callback error: {e.ToString()}");
1589 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1596 efl_gfx_color_code_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), colorcode);
1600 private static efl_gfx_color_code_set_delegate efl_gfx_color_code_set_static_delegate;
1602 [return: MarshalAs(UnmanagedType.U1)]
1603 private delegate bool efl_gfx_image_smooth_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
1605 [return: MarshalAs(UnmanagedType.U1)]
1606 public delegate bool efl_gfx_image_smooth_scale_get_api_delegate(System.IntPtr obj);
1608 public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate> efl_gfx_image_smooth_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_get_api_delegate>(Module, "efl_gfx_image_smooth_scale_get");
1610 private static bool smooth_scale_get(System.IntPtr obj, System.IntPtr pd)
1612 Eina.Log.Debug("function efl_gfx_image_smooth_scale_get was called");
1613 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1616 bool _ret_var = default(bool);
1619 _ret_var = ((WidgetPartBg)ws.Target).GetSmoothScale();
1623 Eina.Log.Warning($"Callback error: {e.ToString()}");
1624 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1632 return efl_gfx_image_smooth_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1636 private static efl_gfx_image_smooth_scale_get_delegate efl_gfx_image_smooth_scale_get_static_delegate;
1639 private delegate void efl_gfx_image_smooth_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
1642 public delegate void efl_gfx_image_smooth_scale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool smooth_scale);
1644 public static Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate> efl_gfx_image_smooth_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_smooth_scale_set_api_delegate>(Module, "efl_gfx_image_smooth_scale_set");
1646 private static void smooth_scale_set(System.IntPtr obj, System.IntPtr pd, bool smooth_scale)
1648 Eina.Log.Debug("function efl_gfx_image_smooth_scale_set was called");
1649 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1655 ((WidgetPartBg)ws.Target).SetSmoothScale(smooth_scale);
1659 Eina.Log.Warning($"Callback error: {e.ToString()}");
1660 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1667 efl_gfx_image_smooth_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), smooth_scale);
1671 private static efl_gfx_image_smooth_scale_set_delegate efl_gfx_image_smooth_scale_set_static_delegate;
1674 private delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
1677 public delegate Efl.Gfx.ImageScaleType efl_gfx_image_scale_type_get_api_delegate(System.IntPtr obj);
1679 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate> efl_gfx_image_scale_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_get_api_delegate>(Module, "efl_gfx_image_scale_type_get");
1681 private static Efl.Gfx.ImageScaleType scale_type_get(System.IntPtr obj, System.IntPtr pd)
1683 Eina.Log.Debug("function efl_gfx_image_scale_type_get was called");
1684 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1687 Efl.Gfx.ImageScaleType _ret_var = default(Efl.Gfx.ImageScaleType);
1690 _ret_var = ((WidgetPartBg)ws.Target).GetScaleType();
1694 Eina.Log.Warning($"Callback error: {e.ToString()}");
1695 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1703 return efl_gfx_image_scale_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1707 private static efl_gfx_image_scale_type_get_delegate efl_gfx_image_scale_type_get_static_delegate;
1710 private delegate void efl_gfx_image_scale_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type);
1713 public delegate void efl_gfx_image_scale_type_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleType scale_type);
1715 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate> efl_gfx_image_scale_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_type_set_api_delegate>(Module, "efl_gfx_image_scale_type_set");
1717 private static void scale_type_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleType scale_type)
1719 Eina.Log.Debug("function efl_gfx_image_scale_type_set was called");
1720 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1726 ((WidgetPartBg)ws.Target).SetScaleType(scale_type);
1730 Eina.Log.Warning($"Callback error: {e.ToString()}");
1731 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1738 efl_gfx_image_scale_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale_type);
1742 private static efl_gfx_image_scale_type_set_delegate efl_gfx_image_scale_type_set_static_delegate;
1744 [return: MarshalAs(UnmanagedType.U1)]
1745 private delegate bool efl_gfx_image_can_upscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
1747 [return: MarshalAs(UnmanagedType.U1)]
1748 public delegate bool efl_gfx_image_can_upscale_get_api_delegate(System.IntPtr obj);
1750 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate> efl_gfx_image_can_upscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_get_api_delegate>(Module, "efl_gfx_image_can_upscale_get");
1752 private static bool can_upscale_get(System.IntPtr obj, System.IntPtr pd)
1754 Eina.Log.Debug("function efl_gfx_image_can_upscale_get was called");
1755 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1758 bool _ret_var = default(bool);
1761 _ret_var = ((WidgetPartBg)ws.Target).GetCanUpscale();
1765 Eina.Log.Warning($"Callback error: {e.ToString()}");
1766 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1774 return efl_gfx_image_can_upscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1778 private static efl_gfx_image_can_upscale_get_delegate efl_gfx_image_can_upscale_get_static_delegate;
1781 private delegate void efl_gfx_image_can_upscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool upscale);
1784 public delegate void efl_gfx_image_can_upscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool upscale);
1786 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate> efl_gfx_image_can_upscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_upscale_set_api_delegate>(Module, "efl_gfx_image_can_upscale_set");
1788 private static void can_upscale_set(System.IntPtr obj, System.IntPtr pd, bool upscale)
1790 Eina.Log.Debug("function efl_gfx_image_can_upscale_set was called");
1791 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1797 ((WidgetPartBg)ws.Target).SetCanUpscale(upscale);
1801 Eina.Log.Warning($"Callback error: {e.ToString()}");
1802 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1809 efl_gfx_image_can_upscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), upscale);
1813 private static efl_gfx_image_can_upscale_set_delegate efl_gfx_image_can_upscale_set_static_delegate;
1815 [return: MarshalAs(UnmanagedType.U1)]
1816 private delegate bool efl_gfx_image_can_downscale_get_delegate(System.IntPtr obj, System.IntPtr pd);
1818 [return: MarshalAs(UnmanagedType.U1)]
1819 public delegate bool efl_gfx_image_can_downscale_get_api_delegate(System.IntPtr obj);
1821 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate> efl_gfx_image_can_downscale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_get_api_delegate>(Module, "efl_gfx_image_can_downscale_get");
1823 private static bool can_downscale_get(System.IntPtr obj, System.IntPtr pd)
1825 Eina.Log.Debug("function efl_gfx_image_can_downscale_get was called");
1826 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1829 bool _ret_var = default(bool);
1832 _ret_var = ((WidgetPartBg)ws.Target).GetCanDownscale();
1836 Eina.Log.Warning($"Callback error: {e.ToString()}");
1837 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1845 return efl_gfx_image_can_downscale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1849 private static efl_gfx_image_can_downscale_get_delegate efl_gfx_image_can_downscale_get_static_delegate;
1852 private delegate void efl_gfx_image_can_downscale_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool downscale);
1855 public delegate void efl_gfx_image_can_downscale_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool downscale);
1857 public static Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate> efl_gfx_image_can_downscale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_can_downscale_set_api_delegate>(Module, "efl_gfx_image_can_downscale_set");
1859 private static void can_downscale_set(System.IntPtr obj, System.IntPtr pd, bool downscale)
1861 Eina.Log.Debug("function efl_gfx_image_can_downscale_set was called");
1862 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1868 ((WidgetPartBg)ws.Target).SetCanDownscale(downscale);
1872 Eina.Log.Warning($"Callback error: {e.ToString()}");
1873 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1880 efl_gfx_image_can_downscale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), downscale);
1884 private static efl_gfx_image_can_downscale_set_delegate efl_gfx_image_can_downscale_set_static_delegate;
1887 private delegate double efl_gfx_image_ratio_get_delegate(System.IntPtr obj, System.IntPtr pd);
1890 public delegate double efl_gfx_image_ratio_get_api_delegate(System.IntPtr obj);
1892 public static Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate> efl_gfx_image_ratio_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_ratio_get_api_delegate>(Module, "efl_gfx_image_ratio_get");
1894 private static double ratio_get(System.IntPtr obj, System.IntPtr pd)
1896 Eina.Log.Debug("function efl_gfx_image_ratio_get was called");
1897 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1900 double _ret_var = default(double);
1903 _ret_var = ((WidgetPartBg)ws.Target).GetRatio();
1907 Eina.Log.Warning($"Callback error: {e.ToString()}");
1908 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1916 return efl_gfx_image_ratio_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1920 private static efl_gfx_image_ratio_get_delegate efl_gfx_image_ratio_get_static_delegate;
1923 private delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_delegate(System.IntPtr obj, System.IntPtr pd);
1926 public delegate Eina.Rect.NativeStruct efl_gfx_image_content_region_get_api_delegate(System.IntPtr obj);
1928 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate> efl_gfx_image_content_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_region_get_api_delegate>(Module, "efl_gfx_image_content_region_get");
1930 private static Eina.Rect.NativeStruct content_region_get(System.IntPtr obj, System.IntPtr pd)
1932 Eina.Log.Debug("function efl_gfx_image_content_region_get was called");
1933 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1936 Eina.Rect _ret_var = default(Eina.Rect);
1939 _ret_var = ((WidgetPartBg)ws.Target).GetContentRegion();
1943 Eina.Log.Warning($"Callback error: {e.ToString()}");
1944 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1952 return efl_gfx_image_content_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1956 private static efl_gfx_image_content_region_get_delegate efl_gfx_image_content_region_get_static_delegate;
1959 private delegate void efl_gfx_image_border_get_delegate(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b);
1962 public delegate void efl_gfx_image_border_get_api_delegate(System.IntPtr obj, out int l, out int r, out int t, out int b);
1964 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate> efl_gfx_image_border_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_get_api_delegate>(Module, "efl_gfx_image_border_get");
1966 private static void border_get(System.IntPtr obj, System.IntPtr pd, out int l, out int r, out int t, out int b)
1968 Eina.Log.Debug("function efl_gfx_image_border_get was called");
1969 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1972 l = default(int); r = default(int); t = default(int); b = default(int);
1975 ((WidgetPartBg)ws.Target).GetBorder(out l, out r, out t, out b);
1979 Eina.Log.Warning($"Callback error: {e.ToString()}");
1980 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1987 efl_gfx_image_border_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out l, out r, out t, out b);
1991 private static efl_gfx_image_border_get_delegate efl_gfx_image_border_get_static_delegate;
1994 private delegate void efl_gfx_image_border_set_delegate(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b);
1997 public delegate void efl_gfx_image_border_set_api_delegate(System.IntPtr obj, int l, int r, int t, int b);
1999 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate> efl_gfx_image_border_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_set_api_delegate>(Module, "efl_gfx_image_border_set");
2001 private static void border_set(System.IntPtr obj, System.IntPtr pd, int l, int r, int t, int b)
2003 Eina.Log.Debug("function efl_gfx_image_border_set was called");
2004 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2010 ((WidgetPartBg)ws.Target).SetBorder(l, r, t, b);
2014 Eina.Log.Warning($"Callback error: {e.ToString()}");
2015 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2022 efl_gfx_image_border_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), l, r, t, b);
2026 private static efl_gfx_image_border_set_delegate efl_gfx_image_border_set_static_delegate;
2029 private delegate double efl_gfx_image_border_scale_get_delegate(System.IntPtr obj, System.IntPtr pd);
2032 public delegate double efl_gfx_image_border_scale_get_api_delegate(System.IntPtr obj);
2034 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate> efl_gfx_image_border_scale_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_get_api_delegate>(Module, "efl_gfx_image_border_scale_get");
2036 private static double border_scale_get(System.IntPtr obj, System.IntPtr pd)
2038 Eina.Log.Debug("function efl_gfx_image_border_scale_get was called");
2039 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2042 double _ret_var = default(double);
2045 _ret_var = ((WidgetPartBg)ws.Target).GetBorderScale();
2049 Eina.Log.Warning($"Callback error: {e.ToString()}");
2050 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2058 return efl_gfx_image_border_scale_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2062 private static efl_gfx_image_border_scale_get_delegate efl_gfx_image_border_scale_get_static_delegate;
2065 private delegate void efl_gfx_image_border_scale_set_delegate(System.IntPtr obj, System.IntPtr pd, double scale);
2068 public delegate void efl_gfx_image_border_scale_set_api_delegate(System.IntPtr obj, double scale);
2070 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate> efl_gfx_image_border_scale_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_scale_set_api_delegate>(Module, "efl_gfx_image_border_scale_set");
2072 private static void border_scale_set(System.IntPtr obj, System.IntPtr pd, double scale)
2074 Eina.Log.Debug("function efl_gfx_image_border_scale_set was called");
2075 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2081 ((WidgetPartBg)ws.Target).SetBorderScale(scale);
2085 Eina.Log.Warning($"Callback error: {e.ToString()}");
2086 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2093 efl_gfx_image_border_scale_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), scale);
2097 private static efl_gfx_image_border_scale_set_delegate efl_gfx_image_border_scale_set_static_delegate;
2100 private delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_delegate(System.IntPtr obj, System.IntPtr pd);
2103 public delegate Efl.Gfx.BorderFillMode efl_gfx_image_border_center_fill_get_api_delegate(System.IntPtr obj);
2105 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate> efl_gfx_image_border_center_fill_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_get_api_delegate>(Module, "efl_gfx_image_border_center_fill_get");
2107 private static Efl.Gfx.BorderFillMode border_center_fill_get(System.IntPtr obj, System.IntPtr pd)
2109 Eina.Log.Debug("function efl_gfx_image_border_center_fill_get was called");
2110 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2113 Efl.Gfx.BorderFillMode _ret_var = default(Efl.Gfx.BorderFillMode);
2116 _ret_var = ((WidgetPartBg)ws.Target).GetBorderCenterFill();
2120 Eina.Log.Warning($"Callback error: {e.ToString()}");
2121 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2129 return efl_gfx_image_border_center_fill_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2133 private static efl_gfx_image_border_center_fill_get_delegate efl_gfx_image_border_center_fill_get_static_delegate;
2136 private delegate void efl_gfx_image_border_center_fill_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill);
2139 public delegate void efl_gfx_image_border_center_fill_set_api_delegate(System.IntPtr obj, Efl.Gfx.BorderFillMode fill);
2141 public static Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate> efl_gfx_image_border_center_fill_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_border_center_fill_set_api_delegate>(Module, "efl_gfx_image_border_center_fill_set");
2143 private static void border_center_fill_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.BorderFillMode fill)
2145 Eina.Log.Debug("function efl_gfx_image_border_center_fill_set was called");
2146 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2152 ((WidgetPartBg)ws.Target).SetBorderCenterFill(fill);
2156 Eina.Log.Warning($"Callback error: {e.ToString()}");
2157 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2164 efl_gfx_image_border_center_fill_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), fill);
2168 private static efl_gfx_image_border_center_fill_set_delegate efl_gfx_image_border_center_fill_set_static_delegate;
2171 private delegate void efl_gfx_image_stretch_region_get_delegate(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical);
2174 public delegate void efl_gfx_image_stretch_region_get_api_delegate(System.IntPtr obj, out System.IntPtr horizontal, out System.IntPtr vertical);
2176 public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate> efl_gfx_image_stretch_region_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_get_api_delegate>(Module, "efl_gfx_image_stretch_region_get");
2178 private static void stretch_region_get(System.IntPtr obj, System.IntPtr pd, out System.IntPtr horizontal, out System.IntPtr vertical)
2180 Eina.Log.Debug("function efl_gfx_image_stretch_region_get was called");
2181 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2184 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_horizontal = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
2185 Eina.Iterator<Efl.Gfx.ImageStretchRegion> _out_vertical = default(Eina.Iterator<Efl.Gfx.ImageStretchRegion>);
2189 ((WidgetPartBg)ws.Target).GetStretchRegion(out _out_horizontal, out _out_vertical);
2193 Eina.Log.Warning($"Callback error: {e.ToString()}");
2194 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2197 horizontal = _out_horizontal.Handle;
2198 vertical = _out_vertical.Handle;
2203 efl_gfx_image_stretch_region_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out horizontal, out vertical);
2207 private static efl_gfx_image_stretch_region_get_delegate efl_gfx_image_stretch_region_get_static_delegate;
2210 private delegate Eina.Error efl_gfx_image_stretch_region_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical);
2213 public delegate Eina.Error efl_gfx_image_stretch_region_set_api_delegate(System.IntPtr obj, System.IntPtr horizontal, System.IntPtr vertical);
2215 public static Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate> efl_gfx_image_stretch_region_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_stretch_region_set_api_delegate>(Module, "efl_gfx_image_stretch_region_set");
2217 private static Eina.Error stretch_region_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr horizontal, System.IntPtr vertical)
2219 Eina.Log.Debug("function efl_gfx_image_stretch_region_set was called");
2220 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2223 var _in_horizontal = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(horizontal, false);
2224 var _in_vertical = new Eina.Iterator<Efl.Gfx.ImageStretchRegion>(vertical, false);
2225 Eina.Error _ret_var = default(Eina.Error);
2228 _ret_var = ((WidgetPartBg)ws.Target).SetStretchRegion(_in_horizontal, _in_vertical);
2232 Eina.Log.Warning($"Callback error: {e.ToString()}");
2233 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2241 return efl_gfx_image_stretch_region_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), horizontal, vertical);
2245 private static efl_gfx_image_stretch_region_set_delegate efl_gfx_image_stretch_region_set_static_delegate;
2248 private delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_delegate(System.IntPtr obj, System.IntPtr pd);
2251 public delegate Eina.Size2D.NativeStruct efl_gfx_image_size_get_api_delegate(System.IntPtr obj);
2253 public static Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate> efl_gfx_image_size_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_size_get_api_delegate>(Module, "efl_gfx_image_size_get");
2255 private static Eina.Size2D.NativeStruct image_size_get(System.IntPtr obj, System.IntPtr pd)
2257 Eina.Log.Debug("function efl_gfx_image_size_get was called");
2258 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2261 Eina.Size2D _ret_var = default(Eina.Size2D);
2264 _ret_var = ((WidgetPartBg)ws.Target).GetImageSize();
2268 Eina.Log.Warning($"Callback error: {e.ToString()}");
2269 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2277 return efl_gfx_image_size_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2281 private static efl_gfx_image_size_get_delegate efl_gfx_image_size_get_static_delegate;
2284 private delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
2287 public delegate Efl.Gfx.ImageContentHint efl_gfx_image_content_hint_get_api_delegate(System.IntPtr obj);
2289 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate> efl_gfx_image_content_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_get_api_delegate>(Module, "efl_gfx_image_content_hint_get");
2291 private static Efl.Gfx.ImageContentHint content_hint_get(System.IntPtr obj, System.IntPtr pd)
2293 Eina.Log.Debug("function efl_gfx_image_content_hint_get was called");
2294 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2297 Efl.Gfx.ImageContentHint _ret_var = default(Efl.Gfx.ImageContentHint);
2300 _ret_var = ((WidgetPartBg)ws.Target).GetContentHint();
2304 Eina.Log.Warning($"Callback error: {e.ToString()}");
2305 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2313 return efl_gfx_image_content_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2317 private static efl_gfx_image_content_hint_get_delegate efl_gfx_image_content_hint_get_static_delegate;
2320 private delegate void efl_gfx_image_content_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint);
2323 public delegate void efl_gfx_image_content_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageContentHint hint);
2325 public static Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate> efl_gfx_image_content_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_content_hint_set_api_delegate>(Module, "efl_gfx_image_content_hint_set");
2327 private static void content_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageContentHint hint)
2329 Eina.Log.Debug("function efl_gfx_image_content_hint_set was called");
2330 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2336 ((WidgetPartBg)ws.Target).SetContentHint(hint);
2340 Eina.Log.Warning($"Callback error: {e.ToString()}");
2341 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2348 efl_gfx_image_content_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
2352 private static efl_gfx_image_content_hint_set_delegate efl_gfx_image_content_hint_set_static_delegate;
2355 private delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_delegate(System.IntPtr obj, System.IntPtr pd);
2358 public delegate Efl.Gfx.ImageScaleHint efl_gfx_image_scale_hint_get_api_delegate(System.IntPtr obj);
2360 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate> efl_gfx_image_scale_hint_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_get_api_delegate>(Module, "efl_gfx_image_scale_hint_get");
2362 private static Efl.Gfx.ImageScaleHint scale_hint_get(System.IntPtr obj, System.IntPtr pd)
2364 Eina.Log.Debug("function efl_gfx_image_scale_hint_get was called");
2365 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2368 Efl.Gfx.ImageScaleHint _ret_var = default(Efl.Gfx.ImageScaleHint);
2371 _ret_var = ((WidgetPartBg)ws.Target).GetScaleHint();
2375 Eina.Log.Warning($"Callback error: {e.ToString()}");
2376 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2384 return efl_gfx_image_scale_hint_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2388 private static efl_gfx_image_scale_hint_get_delegate efl_gfx_image_scale_hint_get_static_delegate;
2391 private delegate void efl_gfx_image_scale_hint_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint);
2394 public delegate void efl_gfx_image_scale_hint_set_api_delegate(System.IntPtr obj, Efl.Gfx.ImageScaleHint hint);
2396 public static Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate> efl_gfx_image_scale_hint_set_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_scale_hint_set_api_delegate>(Module, "efl_gfx_image_scale_hint_set");
2398 private static void scale_hint_set(System.IntPtr obj, System.IntPtr pd, Efl.Gfx.ImageScaleHint hint)
2400 Eina.Log.Debug("function efl_gfx_image_scale_hint_set was called");
2401 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2407 ((WidgetPartBg)ws.Target).SetScaleHint(hint);
2411 Eina.Log.Warning($"Callback error: {e.ToString()}");
2412 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2419 efl_gfx_image_scale_hint_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), hint);
2423 private static efl_gfx_image_scale_hint_set_delegate efl_gfx_image_scale_hint_set_static_delegate;
2426 private delegate Eina.Error efl_gfx_image_load_error_get_delegate(System.IntPtr obj, System.IntPtr pd);
2429 public delegate Eina.Error efl_gfx_image_load_error_get_api_delegate(System.IntPtr obj);
2431 public static Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate> efl_gfx_image_load_error_get_ptr = new Efl.Eo.FunctionWrapper<efl_gfx_image_load_error_get_api_delegate>(Module, "efl_gfx_image_load_error_get");
2433 private static Eina.Error image_load_error_get(System.IntPtr obj, System.IntPtr pd)
2435 Eina.Log.Debug("function efl_gfx_image_load_error_get was called");
2436 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
2439 Eina.Error _ret_var = default(Eina.Error);
2442 _ret_var = ((WidgetPartBg)ws.Target).GetImageLoadError();
2446 Eina.Log.Warning($"Callback error: {e.ToString()}");
2447 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
2455 return efl_gfx_image_load_error_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
2459 private static efl_gfx_image_load_error_get_delegate efl_gfx_image_load_error_get_static_delegate;
2461 #pragma warning restore CA1707, CS1591, SA1300, SA1600
2470 #pragma warning disable CS1591
2471 public static class Efl_UiWidgetPartBg_ExtensionMethods {
2472 public static Efl.BindableProperty<Eina.File> Mmap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2473 return new Efl.BindableProperty<Eina.File>("mmap", fac);
2476 public static Efl.BindableProperty<System.String> File<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2477 return new Efl.BindableProperty<System.String>("file", fac);
2480 public static Efl.BindableProperty<System.String> Key<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2481 return new Efl.BindableProperty<System.String>("key", fac);
2486 public static Efl.BindableProperty<System.String> ColorCode<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2487 return new Efl.BindableProperty<System.String>("color_code", fac);
2490 public static Efl.BindableProperty<bool> SmoothScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2491 return new Efl.BindableProperty<bool>("smooth_scale", fac);
2494 public static Efl.BindableProperty<Efl.Gfx.ImageScaleType> ScaleType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2495 return new Efl.BindableProperty<Efl.Gfx.ImageScaleType>("scale_type", fac);
2498 public static Efl.BindableProperty<bool> CanUpscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2499 return new Efl.BindableProperty<bool>("can_upscale", fac);
2502 public static Efl.BindableProperty<bool> CanDownscale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2503 return new Efl.BindableProperty<bool>("can_downscale", fac);
2509 public static Efl.BindableProperty<double> BorderScale<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2510 return new Efl.BindableProperty<double>("border_scale", fac);
2513 public static Efl.BindableProperty<Efl.Gfx.BorderFillMode> BorderCenterFill<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2514 return new Efl.BindableProperty<Efl.Gfx.BorderFillMode>("border_center_fill", fac);
2519 public static Efl.BindableProperty<Efl.Gfx.ImageContentHint> ContentHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2520 return new Efl.BindableProperty<Efl.Gfx.ImageContentHint>("content_hint", fac);
2523 public static Efl.BindableProperty<Efl.Gfx.ImageScaleHint> ScaleHint<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.Ui.WidgetPartBg, T>magic = null) where T : Efl.Ui.WidgetPartBg {
2524 return new Efl.BindableProperty<Efl.Gfx.ImageScaleHint>("scale_hint", fac);
2529 #pragma warning restore CS1591