ultimate-text-to-image
Version:
Generate UTF8 texts into image with auto line break for all international language, including Chinese, Japanese, Korean, etc..
11 lines (10 loc) • 517 B
TypeScript
import { IMeasurable, IMeasuredParagraph, IMeasuredParagraphOptions, ITestBestMeasuredParagraphOptions } from "./types";
export declare class Measurable {
caches: Map<string, Map<number, Map<string, IMeasurable>>>;
clearCache(): void;
getMeasuredParagraph(options: IMeasuredParagraphOptions): IMeasuredParagraph;
testBestMeasuredParagraph(options: ITestBestMeasuredParagraphOptions): IMeasuredParagraph;
private testMeasuredParagraph;
private testMeasureWords;
private testMeasuredWord;
}