Skip to main content

BlockStyle

Style for a BlockAnnotations system.

Extends​

Properties​

color​

color: number

Line and text color as a hex number (e.g. 0xff0000).

Inherited from​

BaseAnnotationStyle . color


fontSize​

fontSize: number

Font size of the text label in drawing local units.

Inherited from​

BaseAnnotationStyle . fontSize


textOffset​

textOffset: number

Distance from the annotation geometry to the text label in drawing local units.

Inherited from​

BaseAnnotationStyle . textOffset


unit?​

optional unit: DimensionUnit

Unit used to format measured values in text labels. Defaults to Units.m (metres) when not set.

Inherited from​

BaseAnnotationStyle . unit