UNPKG

@awayjs/scene

Version:
17 lines 575 B
import { IAsset } from '@awayjs/core'; import { TextField } from '../display/TextField'; import { TextFormat } from './TextFormat'; /** */ export interface IFontTable extends IAsset { font: any; getGlyphCount(): number; initFontSize(font_size: number): any; getCharWidth(char_code: string): any; hasChar(char_code: string): any; getCharVertCnt(char_code: string): any; getLineHeight(): any; fillTextRun(tf: TextField, format: TextFormat, startWord: number, wordCnt: number): any; dispose(): any; } //# sourceMappingURL=IFontTable.d.ts.map