com.supermap.mapping.dyn

Class RotateAnimator



  • public class RotateAnimator
    extends Animator
    Rotate animator class.
    • Constructor Detail

      • RotateAnimator

        public RotateAnimator(float degree,
                              int duration)
        Constructor of rotate animator.
        Parameters:
        degree - The rotation angle.
        duration - The duration time of the animation.
      • RotateAnimator

        public RotateAnimator(RotateAnimator animator)
        Create a new RotateAnimator object that is the same with the given RotateAnimator object.
        Parameters:
        animator - The given RotateAnimator object.
    • Method Detail

      • getRotateDegree

        public float getRotateDegree()
        The rotation angle to be obtained.
        Returns:
        The rotation angle.
      • setRotateDegree

        public void setRotateDegree(float rotateDegree)
        Sets the rotation angle.
        Parameters:
        rotateDegree - The rotate degree