Skip to main content

Import

resolveDimensionStyle

The style an annotation resolves to.

DEFAULT_DIMENSION_STYLE

What a dimension gets when its document names no style.

DEFAULT_FONT_FAMILY

The font stack for drawing text.

TEXT_HEIGHTS_MM

ISO 3098 text heights, in millimetres.

Types

DimensionStyleRegistry

Named styles a document carries, keyed by the id an annotation points at.

DimensionStyleSpec

How dimensions and leaders are drawn on one document.
TerminatorKind
Mark at each end of the dimension line. Default “slash”.
number
Terminator size in paper mm. Defaults to the label height.
number
Text height in paper mm.
number
Decimal places (metric) or fraction denominator (imperial).
string
Last modified on October 8, 2026