X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=internals%2Fsrc%2FEflSharp%2FEflSharp%2Fefl%2Fefl_gfx_gradient_linear.eo.cs;h=a097e781947b62e3e1d136958065e8d4d1835967;hb=5418695f94c5065494f5f7d74d1506e7a5267c06;hp=0bc1a85ece429884363f2b3de72f0a37670ab08e;hpb=0b6fcb1c983e8bfd9aa8b8d83432646951c687ce;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs
old mode 100644
new mode 100755
index 0bc1a85..a097e78
--- a/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs
+++ b/internals/src/EflSharp/EflSharp/efl/efl_gfx_gradient_linear.eo.cs
@@ -1,3 +1,4 @@
+#define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
@@ -10,6 +11,7 @@ namespace Efl {
namespace Gfx {
/// Efl graphics gradient linear interface
+/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
[Efl.Gfx.IGradientLinearConcrete.NativeMethods]
[Efl.Eo.BindingEntity]
public interface IGradientLinear :
@@ -32,14 +34,27 @@ void GetEnd(out double x, out double y);
/// X co-ordinate of end point
/// Y co-ordinate of end point
void SetEnd(double x, double y);
- }
+ /// Gets the start point of this linear gradient.
+ /// X co-ordinate of start point
+ (double, double) Start {
+ get;
+ set;
+ }
+ /// Gets the end point of this linear gradient.
+ /// X co-ordinate of end point
+ (double, double) End {
+ get;
+ set;
+ }
+}
/// Efl graphics gradient linear interface
-sealed public class IGradientLinearConcrete :
+/// This is a BETA class. It can be modified or removed in the future. Do not use it for product development.
+sealed public class IGradientLinearConcrete :
Efl.Eo.EoWrapper
, IGradientLinear
, Efl.Gfx.IGradient
{
- ///Pointer to the native class description.
+ /// Pointer to the native class description.
public override System.IntPtr NativeClass
{
get
@@ -55,7 +70,8 @@ sealed public class IGradientLinearConcrete :
}
}
- /// 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.
private IGradientLinearConcrete(ConstructingHandle ch) : base(ch)
{
@@ -129,6 +145,39 @@ sealed public class IGradientLinearConcrete :
Efl.Gfx.IGradientConcrete.NativeMethods.efl_gfx_gradient_spread_set_ptr.Value.Delegate(this.NativeHandle,s);
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); }
+ }
+ /// Get the list of color stops.
+ /// Color stops list
+ public (Efl.Gfx.GradientStop, uint) Stop {
+ get {
+ Efl.Gfx.GradientStop _out_colors = default(Efl.Gfx.GradientStop);
+ uint _out_length = default(uint);
+ GetStop(out _out_colors,out _out_length);
+ return (_out_colors,_out_length);
+ }
+ set { SetStop(ref value.Item1, value.Item2); }
+ }
/// Returns the spread method use by this gradient. The default is EFL_GFX_GRADIENT_SPREAD_PAD.
/// Spread type to be used
public Efl.Gfx.GradientSpread Spread {
@@ -535,3 +584,16 @@ sealed public class IGradientLinearConcrete :
}
+#if EFL_BETA
+#pragma warning disable CS1591
+public static class Efl_GfxIGradientLinearConcrete_ExtensionMethods {
+
+
+
+ public static Efl.BindableProperty Spread(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Gfx.IGradientLinear {
+ return new Efl.BindableProperty("spread", fac);
+ }
+
+}
+#pragma warning restore CS1591
+#endif