import { Point } from '../utils/point'; import { GroupShape } from './group'; import { LineShape } from './line'; import { PointShape } from './point'; export declare class PolygonShape extends GroupShape { static closingDistance: number; pointShapes: PointShape[]; lineShapes: LineShape[]; get shapes(): (LineShape | PointShape)[]; get points(): import("openseadragon").Point[]; get lastLine(): LineShape; get lastPoint(): PointShape; get closingDistance(): number; get boundingBox(): import("openseadragon").Rect; private createLine; private createPoint; private addPoint; private checkIfClosingNeeded; private onKey; private onKeyEsc; closePolygon(): void; private initKeyListener; private disposeKeyListener; startDrawing(): void; protected finishDrawing(): void; onMouseDown(point: Point): void; onMouseMove(point: Point): void; onMouseUp(): void; } //# sourceMappingURL=polygon.d.ts.map