Interface: SpeechBubbleOptions
Defined in: src/mobjects/bubble/SpeechBubble.ts:7
Options shared by every bubble.
Extends
Properties
color?
optionalcolor:string
Defined in: src/mobjects/bubble/BubbleBase.ts:16
Stroke color of the outline. Default: white
Inherited from
content
content:
Mobject
Defined in: src/mobjects/bubble/BubbleBase.ts:12
The mobject shown inside the bubble (Text, MathTex, any Mobject). Required.
Inherited from
cornerRadius?
optionalcornerRadius:number
Defined in: src/mobjects/bubble/SpeechBubble.ts:9
Corner radius of the body. Default: 0.25
fillColor?
optionalfillColor:string
Defined in: src/mobjects/bubble/BubbleBase.ts:18
Fill color of the body and tail. Default: black
Inherited from
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/bubble/BubbleBase.ts:20
Fill opacity from 0 to 1. Default: 1
Inherited from
padding?
optionalpadding:number
Defined in: src/mobjects/bubble/BubbleBase.ts:14
Space between the content and the body edge. Default: 0.3
Inherited from
pointAt?
optionalpointAt:Vector3Tuple
Defined in: src/mobjects/bubble/BubbleBase.ts:27
World-space point the tail aims at. The tail tip lands on this point.
Takes priority over tailDirection.
Inherited from
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/bubble/BubbleBase.ts:22
Stroke width in pixels. Default: 4
Inherited from
tailDirection?
optionaltailDirection:Vector3Tuple
Defined in: src/mobjects/bubble/BubbleBase.ts:29
Direction the tail leaves the body. Default: [-1, -1, 0] (down left)
Inherited from
tailLength?
optionaltailLength:number
Defined in: src/mobjects/bubble/SpeechBubble.ts:11
Distance from the body edge to the tail tip when no pointAt is set. Default: 0.7
tailWidth?
optionaltailWidth:number
Defined in: src/mobjects/bubble/SpeechBubble.ts:13
Width of the tail where it meets the body. Default: 0.4