UNPKG

poplar-annotation

Version:

web-based annotation tool for natural language processing (NLP) needs, inspired by brat rapid annotation tool.

17 lines (16 loc) 475 B
import * as SVG from "svg.js"; import { TopContext } from "./TopContext"; export declare abstract class TopContextUser { layer: number; context: TopContext; abstract readonly x: number; abstract readonly width: number; svgElement: SVG.Element; readonly y: number; abstract render(): any; abstract preRender(): any; abstract initPosition(): any; private readonly overlapping; eliminateOverlapping(): void; postRender(): void; }