UNPKG

throughmark

Version:

Find and Annotate Features in Images, From Objects to Concepts

12 lines (11 loc) 443 B
import type { GridConfig, GridDimensions } from "./types.js"; export declare class GridGenerator { private config; constructor(config: Required<Pick<GridConfig, "rows" | "cols" | "visible" | "cellLabels">>); private generateGridLine; private calculateFontSize; private generateCellLabel; private generateGridLines; private generateLabels; generateSVGGrid(dimensions: GridDimensions, isHTML: boolean): string; }