Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The text heights, font and terminators that a dimension uses.
import { resolveDimensionStyle, DEFAULT_DIMENSION_STYLE, DEFAULT_FONT_FAMILY, TEXT_HEIGHTS_MM, } from '@opengeometry/floorkit';
function resolveDimensionStyle( styleId: string | undefined, registry: DimensionStyleRegistry | undefined, ): DimensionStyleSpec;
const DEFAULT_DIMENSION_STYLE: DimensionStyleSpec;
const DEFAULT_FONT_FAMILY = '"Paper Mono", "Courier New", Courier, monospace';
const TEXT_HEIGHTS_MM: readonly [1.8, 2.5, 3.5, 5, 7, 10, 14, 20];
type DimensionStyleRegistry = Record<string, DimensionStyleSpec>;
interface DimensionStyleSpec extends StrokeStyle { terminator?: TerminatorKind; terminatorSizeMm?: number; textHeightMm?: number; precision?: number; fontFamily?: string; }
StrokeStyle
TerminatorKind