@cantoo/pdf-lib
Version:
Create and modify PDF files with JavaScript
19 lines • 480 B
TypeScript
import type { Coordinates } from '../../types';
import GraphElement from './GraphElement';
export default class Point extends GraphElement {
static type: string;
x: number;
y: number;
constructor(coords?: {
x: number;
y: number;
});
toCoords(): {
x: number;
y: number;
};
isEqual(element: GraphElement): boolean;
orthoProjection(): Point;
plus(vect: Coordinates): Point;
}
//# sourceMappingURL=Point.d.ts.map