blowfish/assets/lib/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts
2024-03-07 20:32:21 +00:00

10 lines
443 B
TypeScript

import type { Dimension } from './interfaces.js';
import type { Group } from '../../../diagram-api/types.js';
export interface TextDimensionCalculator {
getMaxDimension(texts: string[], fontSize: number): Dimension;
}
export declare class TextDimensionCalculatorWithFont implements TextDimensionCalculator {
private parentGroup;
constructor(parentGroup: Group);
getMaxDimension(texts: string[], fontSize: number): Dimension;
}