Interface: DistanceLabelOptions
Defined in: src/mobjects/molecular/annotations.ts:55
Options for distanceLabel.
Properties
color?
optionalcolor:string
Defined in: src/mobjects/molecular/annotations.ts:57
The line and label color. Default: '#ffffff'.
decimals?
optionaldecimals:number
Defined in: src/mobjects/molecular/annotations.ts:61
Decimal places in the computed distance. Default: 1.
fontSize?
optionalfontSize:number
Defined in: src/mobjects/molecular/annotations.ts:65
The label font size. Default: 28.
label?
optionallabel:string
Defined in: src/mobjects/molecular/annotations.ts:59
Override text; when set, replaces the computed distance.
lineWidth?
optionallineWidth:number
Defined in: src/mobjects/molecular/annotations.ts:67
The measured line width in pixels. Default: 2.
unit?
optionalunit:string
Defined in: src/mobjects/molecular/annotations.ts:63
The distance unit appended to the computed distance. Default: 'Å'.