@eclipse-scout/core
Version:
Eclipse Scout runtime
22 lines • 576 B
TypeScript
export declare class Point {
x: number;
y: number;
/**
* If no parameters are passed, all members are initialized with 0.
*/
constructor(xOrPoint?: number | Point, y?: number);
toString(): string;
equals(o: Point): boolean;
clone(): Point;
add(point: Point): Point;
subtract(point: Point): Point;
/**
* Creates a copy and calls Math.floor() on each property.
*/
floor(): Point;
/**
* Creates a copy and calls Math.ceil() on each property.
*/
ceil(): Point;
}
//# sourceMappingURL=Point.d.ts.map