com.supermap.mapping.dyn
Class RotateAnimator
- java.lang.Object
-
- com.supermap.mapping.dyn.Animator
-
- com.supermap.mapping.dyn.RotateAnimator
-
public class RotateAnimator extends Animator
Rotate animator class.
-
-
Constructor Summary
Constructors Constructor and Description RotateAnimator(float degree, int duration)
Constructor of rotate animator.RotateAnimator(RotateAnimator animator)
Create a new RotateAnimator object that is the same with the given RotateAnimator object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description float
getRotateDegree()
The rotation angle to be obtained.void
setRotateDegree(float rotateDegree)
Sets the rotation angle.-
Methods inherited from class com.supermap.mapping.dyn.Animator
getDuration, isAnimating, setDuration, stopAnimation
-
-
-
-
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.
-
-