public class TransitionOptions extends Object
Constructor and Description |
---|
TransitionOptions(long duration,
long delay)
Create a transition property based on duration and a delay.
|
TransitionOptions(long duration,
long delay,
boolean enablePlacementTransitions)
Create a transition property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static TransitionOptions |
fromTransitionOptions(long duration,
long delay)
Deprecated.
use
fromTransitionOptions(long, long, boolean) instead |
long |
getDelay()
Get the transition delay.
|
long |
getDuration()
Get the transition duration.
|
int |
hashCode() |
boolean |
isEnablePlacementTransitions()
Get the flag that describes whether the fade in/out symbol placement transition should be enabled.
|
String |
toString() |
public TransitionOptions(long duration, long delay)
duration
- the duration of the transitiondelay
- the delay to start the transitionpublic TransitionOptions(long duration, long delay, boolean enablePlacementTransitions)
duration
- the duration of the transitiondelay
- the delay to start the transitionenablePlacementTransitions
- the flag that describes whether the fade in/out symbol placement transition
should be enabled. Defaults to true.@Deprecated public static TransitionOptions fromTransitionOptions(long duration, long delay)
fromTransitionOptions(long, long, boolean)
insteadduration
- the duration of the transitiondelay
- the delay to start the transitionpublic long getDuration()
public long getDelay()
public boolean isEnablePlacementTransitions()
© 2015–2019 Mapbox. All rights reserved.