UNPKG

poplar-annotation

Version:

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

24 lines (23 loc) 813 B
import { LabelCategory } from "../../../Store/LabelCategory"; import { Base } from "../../../Infrastructure/Repository"; import { View } from "../../View"; import { Font } from "../../Font"; export declare namespace LabelCategoryElement { class Factory { private store; private readonly font; private readonly padding; private svgElement; constructor(store: LabelCategory.Entity, font: Font.ValueObject, padding: number, labelOpacity: number); get width(): number; create(): SVGGElement; get id(): number; } export class FactoryRepository extends Base.Repository<Factory> { constructor(root: View, config: { readonly labelPadding: number; readonly labelOpacity: number; }); } export {}; }