- * @param[in] width The target image width
- * @param[in] height The target image height
- */
- void SetSize( uint32_t width, uint32_t height );
-
- /**
- * @brief Play the vector animation.
- */
- void PlayAnimation();
-
- /**
- * @brief Stop the vector animation.
- */
- void StopAnimation();
-
- /**
- * @brief Pause the vector animation.
- */
- void PauseAnimation();
-
- /**
- * @brief Render one frame. The current frame number will be increased.
- */
- void RenderFrame();
-
- /**
- * @brief This callback is called after the first frame is ready.
- * @param[in] callback The resource ready callback
- */
- void SetResourceReadyCallback( EventThreadCallback* callback );
-
- /**
- * @brief This callback is called after the animation is finished.
- * @param[in] callback The animation finished callback
- */
- void SetAnimationFinishedCallback( EventThreadCallback* callback );
-
- /**
- * @brief Enable looping for 'count' repeats. -1 means to repeat forever.
- * @param[in] count The number of times to loop
- */
- void SetLoopCount( int32_t count );
-
- /**
- * @brief Gets the loop count. -1 means to repeat forever.
- * @return The number of times to loop
- */
- int32_t GetLoopCount() const;
-
- /**
- * @brief Set the playing range.
- * @param[in] range Two values between [0,1] to specify minimum and maximum progress.
- * The animation will play between those values.
- */
- void SetPlayRange( Vector2 range );
-
- /**
- * @brief Gets the playing range.
- * @return The play range defined for the animation