@recogito/annotorious
Version:
A JavaScript image annotation library
20 lines • 453 B
TypeScript
import type { AbstractSelector } from '@annotorious/core';
export interface Shape extends AbstractSelector {
type: ShapeType;
geometry: Geometry;
}
export declare enum ShapeType {
ELLIPSE = "ELLIPSE",
POLYGON = "POLYGON",
RECTANGLE = "RECTANGLE"
}
export interface Geometry {
bounds: Bounds;
}
export interface Bounds {
minX: number;
minY: number;
maxX: number;
maxY: number;
}
//# sourceMappingURL=Shape.d.ts.map