Interface: AnnotationDotOptions
Defined in: mobjects/geometry/LabeledGeometry.ts:677
Options for creating an AnnotationDot
Extends
Omit<DotOptions,"point">
Properties
color?
optionalcolor:string
Defined in: mobjects/geometry/Dot.ts:14
Fill color as CSS color string. Default: white (#FFFFFF)
Inherited from
fillOpacity?
optionalfillOpacity:number
Defined in: mobjects/geometry/Dot.ts:16
Fill opacity from 0 to 1. Default: 1
Inherited from
label?
optionallabel:string
Defined in: mobjects/geometry/LabeledGeometry.ts:681
Optional text label content
labelColor?
optionallabelColor:string
Defined in: mobjects/geometry/LabeledGeometry.ts:689
Color for label text. Default: same as dot color
labelDirection?
optionallabelDirection:LabelDirection
Defined in: mobjects/geometry/LabeledGeometry.ts:683
Direction of label relative to dot. Default: 'UR'
labelFontSize?
optionallabelFontSize:number
Defined in: mobjects/geometry/LabeledGeometry.ts:687
Font size for label. Default: 36
labelOffset?
optionallabelOffset:number
Defined in: mobjects/geometry/LabeledGeometry.ts:685
Distance of label from dot center. Default: 0.4
outlineColor?
optionaloutlineColor:string
Defined in: mobjects/geometry/LabeledGeometry.ts:693
Color of the outline. Default: same as dot color with lower opacity
outlineOpacity?
optionaloutlineOpacity:number
Defined in: mobjects/geometry/LabeledGeometry.ts:697
Opacity of the outline. Default: 0.3
outlineScale?
optionaloutlineScale:number
Defined in: mobjects/geometry/LabeledGeometry.ts:695
Scale of the outline relative to dot. Default: 1.5
point?
optionalpoint:Vector3Tuple
Defined in: mobjects/geometry/LabeledGeometry.ts:679
Position of the dot. Default: [0, 0, 0]
radius?
optionalradius:number
Defined in: mobjects/geometry/Dot.ts:12
Radius of the dot. Default: 0.08
Inherited from
showOutline?
optionalshowOutline:boolean
Defined in: mobjects/geometry/LabeledGeometry.ts:691
Whether to show outline/glow effect. Default: true
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/geometry/Dot.ts:18
Stroke width in pixels. Default: 0 (no stroke)