函数
-
import {easeIn} from 'ol/easing';开始时应缓慢,随后加速。
Name Type 描述 tnumber 请输入0到1之间的值。
返回:
输出值在0到1之间。
-
import {easeOut} from 'ol/easing';先快后慢。
Name Type 描述 tnumber 请输入0到1之间的数值。
返回:
输出值在0到1之间。
-
import {inAndOut} from 'ol/easing';开始时缓慢,随后加速,最后再次减速。
Name Type 描述 tnumber 请输入0到1之间的数值。
返回:
输出范围在 0 到 1 之间。
-
import {linear} from 'ol/easing';随时间保持速度恒定。
Name Type 描述 tnumber 请输入 0 到 1 之间的数值。
返回:
输出值介于0和1之间。
-
import {upAndDown} from 'ol/easing';开始时缓慢,随后加速,最后再次减速。这与
inAndOut具有相同的一般行为,但最终减速会延迟。Name Type 描述 tnumber 输入值应在0到1之间。
返回:
输出介于 0 和 1 之间。