You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
|
3 years ago
|
/**
|
||
|
|
* @module ol/easing
|
||
|
|
*/
|
||
|
|
/**
|
||
|
|
* Start slow and speed up.
|
||
|
|
* @param {number} t Input between 0 and 1.
|
||
|
|
* @return {number} Output between 0 and 1.
|
||
|
|
* @api
|
||
|
|
*/
|
||
|
|
export function easeIn(t: number): number;
|
||
|
|
/**
|
||
|
|
* Start fast and slow down.
|
||
|
|
* @param {number} t Input between 0 and 1.
|
||
|
|
* @return {number} Output between 0 and 1.
|
||
|
|
* @api
|
||
|
|
*/
|
||
|
|
export function easeOut(t: number): number;
|
||
|
|
/**
|
||
|
|
* Start slow, speed up, and then slow down again.
|
||
|
|
* @param {number} t Input between 0 and 1.
|
||
|
|
* @return {number} Output between 0 and 1.
|
||
|
|
* @api
|
||
|
|
*/
|
||
|
|
export function inAndOut(t: number): number;
|
||
|
|
/**
|
||
|
|
* Maintain a constant speed over time.
|
||
|
|
* @param {number} t Input between 0 and 1.
|
||
|
|
* @return {number} Output between 0 and 1.
|
||
|
|
* @api
|
||
|
|
*/
|
||
|
|
export function linear(t: number): number;
|
||
|
|
/**
|
||
|
|
* Start slow, speed up, and at the very end slow down again. This has the
|
||
|
|
* same general behavior as {@link module:ol/easing.inAndOut}, but the final
|
||
|
|
* slowdown is delayed.
|
||
|
|
* @param {number} t Input between 0 and 1.
|
||
|
|
* @return {number} Output between 0 and 1.
|
||
|
|
* @api
|
||
|
|
*/
|
||
|
|
export function upAndDown(t: number): number;
|
||
|
|
//# sourceMappingURL=easing.d.ts.map
|