public static class PanOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
PanOptions.Builder |
animate(java.lang.Boolean animate)
If true, panning will always be animated if possible.
|
PanOptions |
build()
Builds the PanOptions new instance
|
PanOptions.Builder |
duration(java.lang.Number duration)
Duration of animated panning.
|
PanOptions.Builder |
easeLinearity(java.lang.Number easeLinearity)
The curvature factor of panning animation easing (third parameter of the Cubic Bezier curve).
|
PanOptions.Builder |
noMoveStart(java.lang.Boolean noMoveStart)
If true, panning won't fire movestart event on start (used internally for panning inertia).
|
public PanOptions.Builder animate(java.lang.Boolean animate)
animate
- the animatepublic PanOptions.Builder duration(java.lang.Number duration)
duration
- the durationpublic PanOptions.Builder easeLinearity(java.lang.Number easeLinearity)
easeLinearity
- the ease linearitypublic PanOptions.Builder noMoveStart(java.lang.Boolean noMoveStart)
noMoveStart
- the no move startpublic PanOptions build()