com.supermap.mapping.dyn

Class TranslateAnimator



  • public class TranslateAnimator
    extends Animator
    Displacement animation class.
    • 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.