import { Buffer, MeshGeometry } from "pixi.js"; import { DDynamicTextStyleWordWrap } from "./d-dynamic-text-style-word-wrap"; import { DynamicFontAtlas } from "./util/dynamic-font-atlas"; import { DynamicFontAtlasCharacter } from "./util/dynamic-font-atlas-character"; export interface DDynamicTextGeometryModifier { clipping: boolean; fitting: boolean; wordWrap: DDynamicTextStyleWordWrap; width: number; height: number; lineHeight: number; } export declare class DDynamicTextGeometry extends MeshGeometry { protected static VERTICES?: Float32Array; protected static UVS?: Float32Array; protected static INDICES?: Uint16Array; width: number; height: number; scale: number; scaled: boolean; clipped: boolean; nchars: number; vertexBuffer: Buffer; vertices: Float32Array; uvBuffer: Buffer; uvs: Float32Array; indexBuffer: Buffer; indices: Uint16Array; constructor(); update(text: string, atlas: DynamicFontAtlas | null, modifier: DDynamicTextGeometryModifier): void; protected fill(vertices: Float32Array, uvs: Float32Array, index: number, x: number, y: number, scale: number, character: DynamicFontAtlasCharacter, fw: number, fh: number): void; protected fillBlank(vertices: Float32Array, uvs: Float32Array, index: number): void; protected initIndices(indices: Uint16Array): void; }