函数s
-
import {easeIn} from 'ol/easing';开始慢,然后加速。
Name Type Description tnumber 0 到 1 之间的输入值。
返回值:
0 到 1 之间的输出值。
-
import {easeOut} from 'ol/easing';开始快,然后减速。
Name Type Description tnumber 0 到 1 之间的输入值。
返回值:
0 到 1 之间的输出值。
-
import {inAndOut} from 'ol/easing';开始慢,加速,然后再减速。
Name Type Description tnumber 0 到 1 之间的输入值。
返回值:
0 到 1 之间的输出值。
-
import {linear} from 'ol/easing';随时间保持匀速。
Name Type Description tnumber 0 到 1 之间的输入值。
返回值:
0 到 1 之间的输出值。
-
import {upAndDown} from 'ol/easing';开始慢,加速,在最后再减速。这与
inAndOut具有相同的总体行为,但最终的减速被延迟了。Name Type Description tnumber 0 到 1 之间的输入值。
返回值:
0 到 1 之间的输出值。