UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

11 lines 487 B
import { FontSizeFactor } from "../../../../renderer"; export default class TextFitter { private readonly maxMultilineFontSize; private readonly baseFontSize; private readonly fontSizes; private readonly ctx; private readonly spaceWidth; constructor(fontFunc: (number: any) => string, fontSizes: number[], maxMultilineFontSize: number); getStepsForRect(text: string, width: number, height: number): FontSizeFactor[]; } //# sourceMappingURL=TextFitter.d.ts.map