public static class ScaleHandler.DefaultImpls
| Modifier and Type | Method and Description |
|---|---|
static float |
onStick(SwipePicker.ScaleHandler $this,
SwipePicker view,
float value)
Handling of stick the value to a scale.
|
static float |
onSwipe(SwipePicker.ScaleHandler $this,
SwipePicker view,
float value,
int division)
Handling a swipe gesture.
|
public static float onStick(SwipePicker.ScaleHandler $this, SwipePicker view, float value)
Handling of stick the value to a scale.
view - SwipePicker of initiating event.value - The value for which is searched closest on the scale.public static float onSwipe(SwipePicker.ScaleHandler $this, SwipePicker view, float value, int division)
Handling a swipe gesture.
view - SwipePicker of initiating event.value - The value from which need moved.division - The number of divisions that have moved.