X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fcsapi%2Ftizenfx.git;a=blobdiff_plain;f=internals%2Fsrc%2FEflSharp%2FEflSharp%2Fefl%2Fefl_canvas_vg_gradient_linear.eo.cs;h=92346785b51a7f5f44f513f948b5dbecec43e33c;hp=efd1ca614c2bb0c5c245daf25261309bd5bec1c4;hb=5418695f94c5065494f5f7d74d1506e7a5267c06;hpb=0b6fcb1c983e8bfd9aa8b8d83432646951c687ce diff --git a/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_gradient_linear.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_gradient_linear.eo.cs old mode 100644 new mode 100755 index efd1ca6..9234678 --- a/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_gradient_linear.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_canvas_vg_gradient_linear.eo.cs @@ -1,3 +1,4 @@ +#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; @@ -12,11 +13,12 @@ namespace Canvas { namespace Vg { /// Efl vector graphics gradient linear class +/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development. [Efl.Canvas.Vg.GradientLinear.NativeMethods] [Efl.Eo.BindingEntity] public class GradientLinear : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientLinear { - ///Pointer to the native class description. + /// Pointer to the native class description. public override System.IntPtr NativeClass { get @@ -42,7 +44,8 @@ public class GradientLinear : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientLinear FinishInstantiation(); } - /// Constructor to be used when objects are expected to be constructed from native code. + /// Subclasses should override this constructor if they are expected to be instantiated from native code. + /// Do not call this constructor directly. /// Tag struct storing the native handle of the object being constructed. protected GradientLinear(ConstructingHandle ch) : base(ch) { @@ -91,6 +94,28 @@ public class GradientLinear : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientLinear Efl.Gfx.IGradientLinearConcrete.NativeMethods.efl_gfx_gradient_linear_end_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),x, y); Eina.Error.RaiseIfUnhandledException(); } + /// Gets the start point of this linear gradient. + /// X co-ordinate of start point + public (double, double) Start { + get { + double _out_x = default(double); + double _out_y = default(double); + GetStart(out _out_x,out _out_y); + return (_out_x,_out_y); + } + set { SetStart( value.Item1, value.Item2); } + } + /// Gets the end point of this linear gradient. + /// X co-ordinate of end point + public (double, double) End { + get { + double _out_x = default(double); + double _out_y = default(double); + GetEnd(out _out_x,out _out_y); + return (_out_x,_out_y); + } + set { SetEnd( value.Item1, value.Item2); } + } private static IntPtr GetEflClassStatic() { return Efl.Canvas.Vg.GradientLinear.efl_canvas_vg_gradient_linear_class_get(); @@ -309,3 +334,11 @@ public class GradientLinear : Efl.Canvas.Vg.Gradient, Efl.Gfx.IGradientLinear } +#if EFL_BETA +#pragma warning disable CS1591 +public static class Efl_Canvas_VgGradientLinear_ExtensionMethods { + + +} +#pragma warning restore CS1591 +#endif