NiceAdmin2/NiceAdmin/assets/vendor/chart.js/helpers/helpers.interpolation.d.ts

23 lines
532 B
TypeScript

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;
};