All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
/**
|
|
* @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
|