com.supermap.mapping.dyn

Class AlphaAnimator



  • public class AlphaAnimator
    extends Animator
    The AlphaAnimator class.
    • Constructor Summary

      Constructors 
      Constructor and Description
      AlphaAnimator(AlphaAnimator animator)
      Create a new AlphaAnimatorobject that is the same with the given AlphaAnimator object.
      AlphaAnimator(int fromAlpha, int toAlpha, int duration)
      Initialize a new AlphaAnimator object with the parameters specified.
    • Constructor Detail

      • AlphaAnimator

        public AlphaAnimator(int fromAlpha,
                             int toAlpha,
                             int duration)
        Initialize a new AlphaAnimator object with the parameters specified.
        Parameters:
        fromAlpha - The transparency of start, which is between 0-255.
        toAlpha - The transparency of target, which is between 0-255.
        duration - The duration of the animation, and the unit is millisecond.
      • AlphaAnimator

        public AlphaAnimator(AlphaAnimator animator)
        Create a new AlphaAnimatorobject that is the same with the given AlphaAnimator object.
        Parameters:
        animator - The given AlphaAnimator object.