Skip to main content

Interface: AnnotationDotOptions

Defined in: src/mobjects/geometry/LabeledGeometry.ts:682

Options for creating an AnnotationDot

Extends​

Properties​

color?​

optional color: string

Defined in: src/mobjects/geometry/Dot.ts:14

Fill color as CSS color string. Default: white (#FFFFFF)

Inherited from​

DotOptions.color


fillOpacity?​

optional fillOpacity: number

Defined in: src/mobjects/geometry/Dot.ts:16

Fill opacity from 0 to 1. Default: 1

Inherited from​

DotOptions.fillOpacity


label?​

optional label: string

Defined in: src/mobjects/geometry/LabeledGeometry.ts:686

Optional text label content


labelColor?​

optional labelColor: string

Defined in: src/mobjects/geometry/LabeledGeometry.ts:694

Color for label text. Default: same as dot color


labelDirection?​

optional labelDirection: LabelDirection

Defined in: src/mobjects/geometry/LabeledGeometry.ts:688

Direction of label relative to dot. Default: 'UR'


labelFontSize?​

optional labelFontSize: number

Defined in: src/mobjects/geometry/LabeledGeometry.ts:692

Font size for label. Default: 36


labelOffset?​

optional labelOffset: number

Defined in: src/mobjects/geometry/LabeledGeometry.ts:690

Distance of label from dot center. Default: 0.4


outlineColor?​

optional outlineColor: string

Defined in: src/mobjects/geometry/LabeledGeometry.ts:698

Color of the outline. Default: same as dot color with lower opacity


outlineOpacity?​

optional outlineOpacity: number

Defined in: src/mobjects/geometry/LabeledGeometry.ts:702

Opacity of the outline. Default: 0.3


outlineScale?​

optional outlineScale: number

Defined in: src/mobjects/geometry/LabeledGeometry.ts:700

Scale of the outline relative to dot. Default: 1.5


point?​

optional point: Vector3Tuple

Defined in: src/mobjects/geometry/LabeledGeometry.ts:684

Position of the dot. Default: [0, 0, 0]


radius?​

optional radius: number

Defined in: src/mobjects/geometry/Dot.ts:12

Radius of the dot. Default: 0.08

Inherited from​

DotOptions.radius


showOutline?​

optional showOutline: boolean

Defined in: src/mobjects/geometry/LabeledGeometry.ts:696

Whether to show outline/glow effect. Default: true


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/geometry/Dot.ts:18

Stroke width in pixels. Default: 0 (no stroke)

Inherited from​

DotOptions.strokeWidth