@applitools/eyes
Version:
24 lines (23 loc) • 542 B
TypeScript
export type Location = {
x: number;
y: number;
};
export declare class LocationData implements Required<Location> {
private _location;
constructor(location: Location);
constructor(x: number, y: number);
get x(): number;
set x(x: number);
getX(): number;
setX(x: number): void;
get y(): number;
set y(y: number);
getY(): number;
setY(y: number): void;
/** @internal */
toObject(): Location;
/** @internal */
toJSON(): Location;
/** @internal */
toString(): string;
}