Class AnimationStyle

java.lang.Object
com.massifmaps.styles.AnimationStyle

public class AnimationStyle extends Object
A class describing animation effect.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Checks if this object is equal to the specified object.
      Overrides:
      equals in class Object
      Parameters:
      obj - The reference object.
      Returns:
      True when objects are equal, false otherwise.
    • hashCode

      public int hashCode()
      Returns the hash value of this object.
      Overrides:
      hashCode in class Object
      Returns:
      The hash value of this object.
    • getRelativeSpeed

      public float getRelativeSpeed()
      Returns the relative speed of the animation.
      Returns:
      The relative speed of the animation (1.0 corresponds to the default speed).
    • getPhaseInDuration

      public float getPhaseInDuration()
      Returns the phase-in duration of the animation.
      Returns:
      The phase-in duration of the animation in seconds.
    • getPhaseOutDuration

      public float getPhaseOutDuration()
      Returns the phase-out duration of the animation.
      Returns:
      The phase-out duration of the animation in seconds.
    • getFadeAnimationType

      public int getFadeAnimationType()
      Returns the fade animation type.
      Returns:
      The type of the fade animation.
    • getSizeAnimationType

      public int getSizeAnimationType()
      Returns the size-related animation type.
      Returns:
      The type of the size-related animation.