devexpress-richedit
Version:
DevExpress Rich Text Editor is an advanced word-processing tool designed for working with rich text documents.
17 lines (16 loc) • 531 B
TypeScript
import { FontInfo } from './font-info';
export interface IFontMeasurer {
getFontMeasurerInfo(font: FontInfo): FontMeasurerInfo;
}
export declare class FontMeasurer implements IFontMeasurer {
private static testSpanHeigth;
private container;
getFontMeasurerInfo(font: FontInfo): FontMeasurerInfo;
private beginMeasuring;
private endMeasuring;
}
export declare class FontMeasurerInfo {
baseLine: number;
heightFactor: number;
constructor(baseLine: number, heightFactor: number);
}