Skip to main content

Interface: AnnotationDotOptions

Defined in: mobjects/geometry/LabeledGeometry.ts:677

Options for creating an AnnotationDot

Extends

Properties

color?

optional color: string

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

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

Inherited from

DotOptions.color


fillOpacity?

optional fillOpacity: number

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

Fill opacity from 0 to 1. Default: 1

Inherited from

DotOptions.fillOpacity


label?

optional label: string

Defined in: mobjects/geometry/LabeledGeometry.ts:681

Optional text label content


labelColor?

optional labelColor: string

Defined in: mobjects/geometry/LabeledGeometry.ts:689

Color for label text. Default: same as dot color


labelDirection?

optional labelDirection: LabelDirection

Defined in: mobjects/geometry/LabeledGeometry.ts:683

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


labelFontSize?

optional labelFontSize: number

Defined in: mobjects/geometry/LabeledGeometry.ts:687

Font size for label. Default: 36


labelOffset?

optional labelOffset: number

Defined in: mobjects/geometry/LabeledGeometry.ts:685

Distance of label from dot center. Default: 0.4


outlineColor?

optional outlineColor: string

Defined in: mobjects/geometry/LabeledGeometry.ts:693

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


outlineOpacity?

optional outlineOpacity: number

Defined in: mobjects/geometry/LabeledGeometry.ts:697

Opacity of the outline. Default: 0.3


outlineScale?

optional outlineScale: number

Defined in: mobjects/geometry/LabeledGeometry.ts:695

Scale of the outline relative to dot. Default: 1.5


point?

optional point: Vector3Tuple

Defined in: mobjects/geometry/LabeledGeometry.ts:679

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


radius?

optional radius: number

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

Radius of the dot. Default: 0.08

Inherited from

DotOptions.radius


showOutline?

optional showOutline: boolean

Defined in: mobjects/geometry/LabeledGeometry.ts:691

Whether to show outline/glow effect. Default: true


strokeWidth?

optional strokeWidth: number

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

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

Inherited from

DotOptions.strokeWidth