public class

AnimationStyle

extends Object
java.lang.Object
   ↳ com.carto.styles.AnimationStyle

Class Overview

A class describing animation effect.

Summary

Public Methods
synchronized void delete()
boolean equals(Object obj)
Checks if this object is equal to the specified object.
AnimationType getFadeAnimationType()
Returns the fade animation type.
float getPhaseInDuration()
Returns the phase-in duration of the animation.
float getPhaseOutDuration()
Returns the phase-out duration of the animation.
float getRelativeSpeed()
Returns the relative speed of the animation.
AnimationType getSizeAnimationType()
Returns the size-related animation type.
int hashCode()
Returns the hash value of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized void delete ()

public boolean equals (Object obj)

Checks if this object is equal to the specified object.

Parameters
obj The reference object.
Returns
  • True when objects are equal, false otherwise.

public AnimationType getFadeAnimationType ()

Returns the fade animation type.

Returns
  • The type of the fade animation.

public float getPhaseInDuration ()

Returns the phase-in duration of the animation.

Returns
  • The phase-in duration of the animation in seconds.

public float getPhaseOutDuration ()

Returns the phase-out duration of the animation.

Returns
  • The phase-out duration of the animation in seconds.

public float getRelativeSpeed ()

Returns the relative speed of the animation.

Returns
  • The relative speed of the animation (1.0 corresponds to the default speed).

public AnimationType getSizeAnimationType ()

Returns the size-related animation type.

Returns
  • The type of the size-related animation.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.