public static class PanOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
PanOptions |
build()
Builds the PanOptions new instance
|
PanOptions.Builder |
duration(double duration)
Duration of animated panning.
|
PanOptions.Builder |
easeLinearity(double 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 duration(double duration)
duration
- the durationpublic PanOptions.Builder easeLinearity(double easeLinearity)
easeLinearity
- the ease linearitypublic PanOptions.Builder noMoveStart(java.lang.Boolean noMoveStart)
noMoveStart
- the no move startpublic PanOptions build()