#pragma warning disable CS1591 using System; using System.Runtime.InteropServices; using System.Collections.Generic; using System.Linq; using System.Threading; using System.ComponentModel; namespace Efl { namespace Canvas { /// Evas canvas rectangle class [Efl.Canvas.Rectangle.NativeMethods] public class Rectangle : Efl.Canvas.Object { ///Pointer to the native class description. public override System.IntPtr NativeClass { get { if (((object)this).GetType() == typeof(Rectangle)) { return GetEflClassStatic(); } else { return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()]; } } } [System.Runtime.InteropServices.DllImport(efl.Libs.Evas)] internal static extern System.IntPtr efl_canvas_rectangle_class_get(); /// Initializes a new instance of the class. /// Parent instance. public Rectangle(Efl.Object parent= null ) : base(efl_canvas_rectangle_class_get(), typeof(Rectangle), parent) { FinishInstantiation(); } /// Initializes a new instance of the class. /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly. /// The native pointer to be wrapped. protected Rectangle(System.IntPtr raw) : base(raw) { } /// Initializes a new instance of the class. /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly. /// The pointer to the base native Eo class. /// The managed type of the public constructor that originated this call. /// The Efl.Object parent of this instance. protected Rectangle(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent) { } private static IntPtr GetEflClassStatic() { return Efl.Canvas.Rectangle.efl_canvas_rectangle_class_get(); } /// Wrapper for native methods and virtual method delegates. /// For internal use by generated code only. public new class NativeMethods : Efl.Canvas.Object.NativeMethods { /// Gets the list of Eo operations to override. /// The list of Eo operations to be overload. public override System.Collections.Generic.List GetEoOps(System.Type type) { var descs = new System.Collections.Generic.List(); descs.AddRange(base.GetEoOps(type)); return descs; } /// Returns the Eo class for the native methods of this class. /// The native class pointer. public override IntPtr GetEflClass() { return Efl.Canvas.Rectangle.efl_canvas_rectangle_class_get(); } #pragma warning disable CA1707, CS1591, SA1300, SA1600 #pragma warning restore CA1707, CS1591, SA1300, SA1600 } } } }