Skip to main content

Interface: LabeledDotOptions

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

Options for creating a LabeledDot

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

label: string

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

Text label content


labelColor?

optional labelColor: string

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

Color for label text. Default: white


labelDirection?

optional labelDirection: LabelDirection

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

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


labelFontSize?

optional labelFontSize: number

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

Font size for label. Default: 36


labelOffset?

optional labelOffset: number

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

Distance of label from dot center. Default: 0.3


point?

optional point: Vector3Tuple

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

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


strokeWidth?

optional strokeWidth: number

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

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

Inherited from

DotOptions.strokeWidth