+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
namespace Efl {
/// <summary>Efl cubic_bezier interpolator class</summary>
+/// <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>
[Efl.CubicBezierInterpolator.NativeMethods]
+[Efl.Eo.BindingEntity]
public class CubicBezierInterpolator : Efl.Object, Efl.IInterpolator
{
- ///<summary>Pointer to the native class description.</summary>
+ /// <summary>Pointer to the native class description.</summary>
public override System.IntPtr NativeClass
{
get
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.</summary>
/// <param name="parent">Parent instance.</param>
public CubicBezierInterpolator(Efl.Object parent= null
- ) : base(efl_cubic_bezier_interpolator_class_get(), typeof(CubicBezierInterpolator), parent)
+ ) : base(efl_cubic_bezier_interpolator_class_get(), parent)
{
FinishInstantiation();
}
+ /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
+ /// Do not call this constructor directly.</summary>
+ /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
+ protected CubicBezierInterpolator(ConstructingHandle ch) : base(ch)
+ {
+ }
+
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.
/// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
- /// <param name="raw">The native pointer to be wrapped.</param>
- protected CubicBezierInterpolator(System.IntPtr raw) : base(raw)
+ /// <param name="wh">The native pointer to be wrapped.</param>
+ protected CubicBezierInterpolator(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
{
}
/// <summary>Initializes a new instance of the <see cref="CubicBezierInterpolator"/> class.
/// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
/// <param name="baseKlass">The pointer to the base native Eo class.</param>
- /// <param name="managedType">The managed type of the public constructor that originated this call.</param>
/// <param name="parent">The Efl.Object parent of this instance.</param>
- protected CubicBezierInterpolator(IntPtr baseKlass, System.Type managedType, Efl.Object parent) : base(baseKlass, managedType, parent)
+ protected CubicBezierInterpolator(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
{
}
/// <param name="factor3">Third factor of the interpolation function.</param>
/// <param name="factor4">Fourth factor of the interpolation function.</param>
virtual public void GetFactors(out double factor1, out double factor2, out double factor3, out double factor4) {
- Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_get_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),out factor1, out factor2, out factor3, out factor4);
+ Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out factor1, out factor2, out factor3, out factor4);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Factors property</summary>
/// <param name="factor3">Third factor of the interpolation function.</param>
/// <param name="factor4">Fourth factor of the interpolation function.</param>
virtual public void SetFactors(double factor1, double factor2, double factor3, double factor4) {
- Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_set_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),factor1, factor2, factor3, factor4);
+ Efl.CubicBezierInterpolator.NativeMethods.efl_cubic_bezier_interpolator_factors_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),factor1, factor2, factor3, factor4);
Eina.Error.RaiseIfUnhandledException();
}
/// <summary>Interpolate the given value.</summary>
/// <param name="progress">Input value mapped from 0.0 to 1.0.</param>
/// <returns>Output value calculated by interpolating the input value.</returns>
virtual public double Interpolate(double progress) {
- var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((inherited ? Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass) : this.NativeHandle),progress);
+ var _ret_var = Efl.IInterpolatorConcrete.NativeMethods.efl_interpolator_interpolate_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),progress);
Eina.Error.RaiseIfUnhandledException();
return _ret_var;
}
+ /// <summary>Factors property</summary>
+ /// <value>First factor of the interpolation function.</value>
+ public (double, double, double, double) Factors {
+ get {
+ double _out_factor1 = default(double);
+ double _out_factor2 = default(double);
+ double _out_factor3 = default(double);
+ double _out_factor4 = default(double);
+ GetFactors(out _out_factor1,out _out_factor2,out _out_factor3,out _out_factor4);
+ return (_out_factor1,_out_factor2,_out_factor3,_out_factor4);
+ }
+ set { SetFactors( value.Item1, value.Item2, value.Item3, value.Item4); }
+ }
private static IntPtr GetEflClassStatic()
{
return Efl.CubicBezierInterpolator.efl_cubic_bezier_interpolator_class_get();
}
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class EflCubicBezierInterpolator_ExtensionMethods {
+
+}
+#pragma warning restore CS1591
+#endif