demo-tdm1/NiceAdmin/assets/vendor/chart.js/helpers/helpers.interpolation.d.ts

23 lines
532 B
TypeScript
Raw Normal View History

2024-04-24 21:37:29 +00:00
import type { Point, SplinePoint } from '../types/geometric.js';
/**
* @private
*/
export declare function _pointInLine(p1: Point, p2: Point, t: number, mode?: any): {
x: number;
y: number;
};
/**
* @private
*/
export declare function _steppedInterpolation(p1: Point, p2: Point, t: number, mode: 'middle' | 'after' | unknown): {
x: number;
y: number;
};
/**
* @private
*/
export declare function _bezierInterpolation(p1: SplinePoint, p2: SplinePoint, t: number, mode?: any): {
x: number;
y: number;
};