aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/canvas/image/property/animated_frame_duration.txt
blob: 5ed705199215ad9d0bee29fff185b460e85a19ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
~~Title: Efl.Canvas.Image.animated_frame_duration~~
//Overridden from [[:develop:api:efl:image:animated:property:animated_frame_duration|Efl.Image.Animated.animated_frame_duration]] **(get)**.//===== Signature =====

<code>
@property animated_frame_duration @pure_virtual {
    get {
        keys {
            start_frame: int;
            frame_num: int;
        }
        values {
            duration: double;
        }
    }
}
</code>

===== C signature =====

<code c>
double efl_image_animated_frame_duration_get(const Eo *obj, int start_frame, int frame_num);
</code>

===== Keys =====

  * **start_frame** - %%The first frame, rangers from 1 to %%[[:develop:api:efl:image:animated:property:animated_frame_count|Efl.Image.Animated.animated_frame_count]]%%.%%
  * **frame_num** - %%Number of frames in the sequence, starts from 0.%%
===== Values =====

  * **duration** - %%Duration in seconds%%
===== Description =====

%%Get the duration of a sequence of frames.%%

%%This returns total duration in seconds that the specified sequence of frames should take.%%

%%If %%''start_frame''%% is 1 and %%''frame_num''%% is 0, this returns the duration of frame 1. If %%''start_frame''%% is 1 and %%''frame_num''%% is 1, this returns the total duration of frame 1 + frame 2.%%

//Since 1.1//

{{page>:develop:api-include:efl:canvas:image:property:animated_frame_duration:description&nouser&nolink&nodate}}

===== Implemented by =====

  * [[:develop:api:efl:image:animated:property:animated_frame_duration|Efl.Image.Animated.animated_frame_duration]]