Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux server551.iseencloud.net 5.14.0-570.33.2.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 14 07:37:35 EDT 2025 x86_64
User : pbkvidya ( 2092)
PHP Version : 8.1.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
Directory :  /home2/pbkvidya/public_html/pbkv.in/admin/assets/vendor/chart.js/helpers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home2/pbkvidya/public_html/pbkv.in/admin/assets/vendor/chart.js/helpers/helpers.segment.d.ts
/**
 * Returns the sub-segment(s) of a line segment that fall in the given bounds
 * @param {object} segment
 * @param {number} segment.start - start index of the segment, referring the points array
 * @param {number} segment.end - end index of the segment, referring the points array
 * @param {boolean} segment.loop - indicates that the segment is a loop
 * @param {object} [segment.style] - segment style
 * @param {PointElement[]} points - the points that this segment refers to
 * @param {object} [bounds]
 * @param {string} bounds.property - the property of a `PointElement` we are bounding. `x`, `y` or `angle`.
 * @param {number} bounds.start - start value of the property
 * @param {number} bounds.end - end value of the property
 * @private
 **/
export function _boundSegment(segment: {
    start: number;
    end: number;
    loop: boolean;
    style?: object;
}, points: PointElement[], bounds?: {
    property: string;
    start: number;
    end: number;
}): {
    start: number;
    end: number;
    loop: boolean;
    style?: object;
}[];
/**
 * Returns the segments of the line that are inside given bounds
 * @param {LineElement} line
 * @param {object} [bounds]
 * @param {string} bounds.property - the property we are bounding with. `x`, `y` or `angle`.
 * @param {number} bounds.start - start value of the `property`
 * @param {number} bounds.end - end value of the `property`
 * @private
 */
export function _boundSegments(line: LineElement, bounds?: {
    property: string;
    start: number;
    end: number;
}): {
    start: number;
    end: number;
    loop: boolean;
    style?: object;
}[];
/**
 * Compute the continuous segments that define the whole line
 * There can be skipped points within a segment, if spanGaps is true.
 * @param {LineElement} line
 * @param {object} [segmentOptions]
 * @return {Segment[]}
 * @private
 */
export function _computeSegments(line: LineElement, segmentOptions?: object): Segment[];
export type LineElement = import('../elements/element.line.js').default;
export type PointElement = import('../elements/element.point.js').default;
export type Segment = {
    start: number;
    end: number;
    loop: boolean;
    style?: any;
};

Al-HUWAITI Shell