Spec-Zone.ru › OpenLayers

ol/easing


import * as olEasing from 'ol/easing';

Functions

easeIn(t){number}

easing.js, line 11
import {easeIn} from 'ol/easing';

Start slow and speed up.

Name Type Description
t number

Input between 0 and 1.

Returns:
Output between 0 and 1.

easeOut(t){number}

easing.js, line 21
import {easeOut} from 'ol/easing';

Start fast and slow down.

Name Type Description
t number

Input between 0 and 1.

Returns:
Output between 0 and 1.

inAndOut(t){number}

easing.js, line 31
import {inAndOut} from 'ol/easing';

Start slow, speed up, and then slow down again.

Name Type Description
t number

Input between 0 and 1.

Returns:
Output between 0 and 1.

linear(t){number}

easing.js, line 41
import {linear} from 'ol/easing';

Maintain a constant speed over time.

Name Type Description
t number

Input between 0 and 1.

Returns:
Output between 0 and 1.

upAndDown(t){number}

easing.js, line 53
import {upAndDown} from 'ol/easing';

Start slow, speed up, and at the very end slow down again. This has the same general behavior as inAndOut, but the final slowdown is delayed.

Name Type Description
t number

Input between 0 and 1.

Returns:
Output between 0 and 1.

© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_easing.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API