com.supermap.mapping.dyn
Class TranslateAnimator
- java.lang.Object
-
- com.supermap.mapping.dyn.Animator
-
- com.supermap.mapping.dyn.TranslateAnimator
-
public class TranslateAnimator extends Animator
Displacement animation class.
-
-
Constructor Summary
Constructors Constructor and Description TranslateAnimator(Point2D point, int duration)
Constructor of displacement animation.TranslateAnimator(TranslateAnimator animator)
Create a new TranslateAnimator object that is the same with the given TranslateAnimator object.
-
Method Summary
-
Methods inherited from class com.supermap.mapping.dyn.Animator
getDuration, isAnimating, setDuration, stopAnimation
-
-
-
-
Constructor Detail
-
TranslateAnimator
public TranslateAnimator(Point2D point, int duration)
Constructor of displacement animation.- Parameters:
point
- the target point position.duration
- The duration time of the animation.
-
TranslateAnimator
public TranslateAnimator(TranslateAnimator animator)
Create a new TranslateAnimator object that is the same with the given TranslateAnimator object.- Parameters:
animator
- The given TranslateAnimator object.
-
-