Model - annotationStyles[]
Every method of the annotationStyles[] lane. Each step of a annotationStyles[] entry returns a annotationStyle, and the lane's entries are addressed by the identity schema/lanes.ts declares for it.
| Method | Description | Arg | Type | Default | Meaning |
|---|---|---|---|---|---|
annotationStyle | Annotation Style — How a MEASURED mark is drawn — arrow size, extension-line geometry, and how a measurement becomes a string. annotationStyles[] lane only; referenced by name from every dimension and leader node. | name | string | 'standard' | Annotation style name (quote literals). 'standard' overrides the builtin. |
textStyle | string | 'standard' | textStyles[] name the measurement string is drawn with. | ||
arrowSize | length | Arrowhead length (DXF DIMASZ). 0 = no arrowheads. | |||
extensionOffset | length | Gap between the measured point and where its extension line starts (DIMEXO). | |||
extensionOvershoot | length | How far an extension line runs PAST the dimension line (DIMEXE). | |||
lineOvershoot | length | How far the dimension line runs past the extension lines (DIMDLE). | |||
baselineSpacing | length | Distance between stacked baseline dimensions (DIMDLI). | |||
centerMarkSize | length | Size of the cross at a circle's centre (DIMCEN). A centre mark measures nothing, so it is this NUMBER and not a dimension type. | |||
decimals | number | Decimal places in the measurement string (DIMDEC). | |||
rounding | length | Round the measurement to this increment before formatting (DIMRND). | |||
textSuffix | string | Appended to the measurement string — a unit, 'mm' (DIMPOST). | |||
tickSize | length | Oblique architectural tick instead of an arrowhead (DIMTSZ); 0/omitted = arrowheads. | |||
scale | number | Multiplier on every length above, so one style set draws at a second paper scale (DIMSCALE). |