UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

12 lines (11 loc) 432 B
import { BufferGeometry } from 'three'; export declare enum TextSopJustifiyMode { LEFT = "left", RIGHT = "right", CENTER = "center" } export declare const TEXT_SOP_JUSTIFY_MODES: Array<TextSopJustifiyMode>; export interface TextJustifiyParams { justifyMode: TextSopJustifiyMode; } export declare function applyJustifyModeToGeometries(geometries: Array<BufferGeometry | undefined>, params: TextJustifiyParams): void;