public static final class Back.In extends Back
Back.In, Back.InOut, Back.Out
Constructor and Description |
---|
In() |
Modifier and Type | Method and Description |
---|---|
protected double |
calculateImpl(double start,
double distance,
double current,
double total)
Returns value eased according to implementation algorithm, usually between
start and start + distance . |
String |
getTitle()
Returns easing implementation title.
|
calculate, isOverwrite, toString
public String getTitle()
Easing
protected double calculateImpl(double start, double distance, double current, double total)
AbstractEasing
start
and start + distance
.
To understand how provided values are used you can look at the most simple implementation - Linear
easing.calculateImpl
in class AbstractEasing
start
- starting value for the transitiondistance
- distance that should be covered to reach the end of the transitioncurrent
- current transition progress, should always be in [0..total] rangetotal
- total progress required to finish transitionstart
and start + distance
.Copyright © 2020. All rights reserved.