askui
Version:
Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on
32 lines (31 loc) • 822 B
TypeScript
/**
*
* @remarks
* The screen top left corner is the origin
*
* @param {number} xmin - The bounding box xmin coordinate in pixels
* @param {number} ymin - The bounding box ymin coordinate in pixels
* @param {number} xmax - The bounding box xmax coordinate in pixels
* @param {number} ymax - The bounding box ymax coordinate in pixels
*
*/
export declare class BoundingBox {
xmin: number;
ymin: number;
xmax: number;
ymax: number;
constructor(xmin: number, ymin: number, xmax: number, ymax: number);
static fromJson(boundinBox: BoundingBox, resizeRatio?: number): BoundingBox;
/**
*
* @returns {number} The bounding box height in pixels
*
*/
get_height(): number;
/**
*
* @returns {number} The bounding box width in pixels
*
*/
get_width(): number;
}