Efl.Image.Animated (interface)


Efl animated image interface


animated (get)

Check if an image can be animated (has multiple frames).
Eina_Bool efl_image_animated_get(const Eo *obj);

animated_frame (get, set)

Index of the current frame of an animated image.
int efl_image_animated_frame_get(const Eo *obj);
Eina_Bool efl_image_animated_frame_set(Eo *obj, int frame_index);

animated_frame_count (get)

Get the total number of frames of the image, if animated.
int efl_image_animated_frame_count_get(const Eo *obj);

animated_frame_duration (get)

Get the duration of a sequence of frames.
double efl_image_animated_frame_duration_get(const Eo *obj, int start_frame, int frame_num);

animated_loop_count (get)

Get the number times the animation of the object loops.
int efl_image_animated_loop_count_get(const Eo *obj);

animated_loop_type (get)

Get the kind of looping the image object does.
Efl_Image_Animated_Loop_Hint efl_image_animated_loop_type_get(const Eo *obj);