mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-24 07:25:40 -06:00
11 lines
443 B
TypeScript
11 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;
|
||
|
}
|