2018-02-21 10:38:39 -08:00
import efl_canvas_animation_types;
2017-08-24 04:45:52 -07:00
2018-02-21 10:38:39 -08:00
class Efl.Canvas.Animation (Efl.Object, Efl.Playable)
2017-08-24 04:45:52 -07:00
{
[[Efl animation class]]
2018-02-21 10:38:39 -08:00
eo_prefix: efl_animation;
2017-08-24 04:45:52 -07:00
methods {
@property final_state_keep {
2017-12-04 07:33:57 -08:00
[[Keep final state property]]
2017-08-24 04:45:52 -07:00
set {
}
get {
}
values {
2018-01-16 03:31:15 -08:00
keep: bool; [[$true to keep final state, $false otherwise.]]
2017-08-24 04:45:52 -07:00
}
}
@property duration {
2017-12-04 07:33:57 -08:00
[[Duration property]]
2017-08-24 04:45:52 -07:00
set {
}
get {
}
values {
2018-01-16 03:31:15 -08:00
sec: double; [[Duration value.]]
2017-08-25 01:08:59 -07:00
}
}
2017-09-04 19:33:58 -07:00
@property repeat_mode {
2017-12-04 07:33:57 -08:00
[[Repeat mode property]]
2017-09-04 19:33:58 -07:00
set {
}
get {
}
values {
2018-02-21 10:38:39 -08:00
mode: Efl.Canvas.Animation.Repeat_Mode; [[Repeat mode. EFL_ANIMATION_REPEAT_MODE_RESTART restarts animation when the animation ends and EFL_ANIMATION_REPEAT_MODE_REVERSE reverses animation when the animation ends.]]
2017-09-04 19:33:58 -07:00
}
}
2017-08-30 04:20:15 -07:00
@property repeat_count {
2017-12-04 07:33:57 -08:00
[[Repeat count property]]
2017-08-30 04:20:15 -07:00
set {
}
get {
}
values {
count: int; [[Repeat count. EFL_ANIMATION_REPEAT_INFINITE repeats animation infinitely.]]
}
}
2017-09-04 03:17:48 -07:00
@property start_delay {
2017-12-04 07:33:57 -08:00
[[Start delay property]]
2017-09-04 03:17:48 -07:00
set {
}
get {
}
values {
2018-01-16 03:31:15 -08:00
sec: double; [[Delay time, in seconds, from when the animation starts until the animation is animated]]
2017-09-04 03:17:48 -07:00
}
}
2017-09-12 22:59:22 -07:00
@property interpolator {
2017-12-04 07:33:57 -08:00
[[Interpolator property]]
2017-09-12 22:59:22 -07:00
set {
}
get {
}
values {
interpolator: Efl.Object; [[Interpolator which indicates interpolation fucntion. Efl_Interpolator is required.]]
}
}
2018-01-16 03:31:15 -08:00
animation_apply {
params {
@in progress: double;
@in target: Efl.Canvas.Object;
}
return: double; [[Final applied progress.]]
2017-08-24 06:34:13 -07:00
}
2017-08-24 04:45:52 -07:00
}
implements {
2018-01-16 03:31:15 -08:00
Efl.Playable.length { get; }
Efl.Playable.seekable { get; }
Efl.Playable.playable { get; }
2017-08-24 04:45:52 -07:00
}
}