scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
26 lines (25 loc) • 783 B
TypeScript
export declare type TXywhCoordinates = {
x: number;
y: number;
width: number;
height: number;
};
export declare type TLtrbCoordinates = {
left: number;
top: number;
right: number;
bottom: number;
};
export declare type TEdgeCoordinates = {
x1: number;
y1: number;
x2: number;
y2: number;
};
export declare type TSubSurfacePosition = TXywhCoordinates | TLtrbCoordinates | TEdgeCoordinates;
/** @ignore */
export declare const xywhFormatRequiredFieldNames: readonly ["x", "y", "width", "height"];
/** @ignore */
export declare const ltrbFormatRequiredFieldNames: readonly ["left", "top", "right", "bottom"];
/** @ignore */
export declare const polygonFormatRequiredFieldNames: readonly ["x1", "x2", "y1", "y2"];