UNPKG

@pmndrs/uikit

Version:

Build performant 3D user interfaces with Three.js and yoga.

10 lines (9 loc) 634 B
import type { ReadonlySignal } from '@preact/signals-core'; import type { CustomLayouting } from '../../flex/index.js'; import type { GlyphLayout, GlyphOutProperties } from './types.js'; export declare function computedCustomLayouting(layoutPropertiesSignal: ReadonlySignal<GlyphOutProperties | undefined>): ReadonlySignal<CustomLayouting | undefined>; export declare function measureGlyphLayout(properties: GlyphOutProperties, availableWidth?: number): { width: number; height: number; }; export declare function buildGlyphLayout(properties: GlyphOutProperties, availableWidth: number, availableHeight: number): GlyphLayout;