summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_alpha_animation.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/efl_canvas_alpha_animation.eo')
-rw-r--r--src/lib/evas/canvas/efl_canvas_alpha_animation.eo32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_alpha_animation.eo b/src/lib/evas/canvas/efl_canvas_alpha_animation.eo
new file mode 100644
index 0000000000..f466c00e79
--- /dev/null
+++ b/src/lib/evas/canvas/efl_canvas_alpha_animation.eo
@@ -0,0 +1,32 @@
+class Efl.Canvas.Alpha_Animation extends Efl.Canvas.Animation
+{
+ [[Animated alpha blending effect.
+
+ The @Efl.Canvas.Object will have its alpha (transparency) value multiplied by
+ this animation.
+ This can be used to create fade-in and fade-out transitions, for example.
+
+ @since 1.24
+ ]]
+ c_prefix: efl_animation_alpha;
+ data: Efl_Canvas_Alpha_Animation_Data;
+ methods {
+ @property alpha {
+ [[Alpha range to animate. $[0.0] means the object is transparent and $[1.0] means
+ the object is opaque.
+ ]]
+ set {
+ }
+ get {
+ }
+ values {
+ from_alpha: double; [[Initial alpha value.]]
+ to_alpha: double; [[Ending alpha value.]]
+ }
+ }
+ }
+ implements {
+ Efl.Object.constructor;
+ Efl.Canvas.Animation.animation_apply;
+ }
+}