/** * represents a point in a 2d space */ export declare class Point { /** * the position of the point on the horizontal axis * @default 0 */ x: number; /** * the position of the point on the vertical axis * @default 0 */ y: number; /** * the shape type (used internally) * @default "Point" */ type: "Point"; constructor(x?: number, y?: number); /** * set the Point x and y properties to the given values * @param x horizontal coordinate * @param y vertical coordinate * @returns Reference to this object for method chaining */ set(x?: number, y?: number): this; /** * return true if this point is equal to the given point * @param x horizontal coordinate * @param [y] vertical coordinate * @param args * @returns */ equals(x: number, y: number): boolean; equals(point: Point): boolean; /** * clone this Point * @returns new Point */ clone(): Point; } export declare const pointPool: import("../system/pool").Pool; //# sourceMappingURL=point.d.ts.map