Skip to content
Shapemetry

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.

MethodDescriptionArgTypeDefaultMeaning
annotationStyleAnnotation 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.namestring'standard'Annotation style name (quote literals). 'standard' overrides the builtin.
textStylestring'standard'textStyles[] name the measurement string is drawn with.
arrowSizelengthArrowhead length (DXF DIMASZ). 0 = no arrowheads.
extensionOffsetlengthGap between the measured point and where its extension line starts (DIMEXO).
extensionOvershootlengthHow far an extension line runs PAST the dimension line (DIMEXE).
lineOvershootlengthHow far the dimension line runs past the extension lines (DIMDLE).
baselineSpacinglengthDistance between stacked baseline dimensions (DIMDLI).
centerMarkSizelengthSize of the cross at a circle's centre (DIMCEN). A centre mark measures nothing, so it is this NUMBER and not a dimension type.
decimalsnumberDecimal places in the measurement string (DIMDEC).
roundinglengthRound the measurement to this increment before formatting (DIMRND).
textSuffixstringAppended to the measurement string — a unit, 'mm' (DIMPOST).
tickSizelengthOblique architectural tick instead of an arrowhead (DIMTSZ); 0/omitted = arrowheads.
scalenumberMultiplier on every length above, so one style set draws at a second paper scale (DIMSCALE).
Last updated: 📖 1 min readEdit on GitHub