Skip to main content

CalloutAnnotationStyle

Visual appearance of a callout annotation.

Extends

Properties

color

color: number

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

Inherited from

BaseAnnotationStyle . color


enclosure

enclosure: EnclosureBuilder

The enclosure shape builder (cloud, rectangle, circle).


fontSize

fontSize: number

Font size of the text label in drawing local units.

Inherited from

BaseAnnotationStyle . fontSize


lineTick?

optional lineTick: LineTickBuilder

Line-segment tick at the extension end — included in the same LineSegments as the extension line. Omit to suppress.


meshTick?

optional meshTick: MeshTickBuilder

Filled (mesh) tick at the extension end — rendered as a separate THREE.Mesh. Can be combined with tick.


textOffset

textOffset: number

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

Inherited from

BaseAnnotationStyle . textOffset


tickSize

tickSize: number

Size of the optional tick at the extension end in drawing local units.


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