Interface: BubbleOptions
Defined in: src/mobjects/bubble/BubbleBase.ts:10
Options shared by every bubble.
Extended by
Properties
color?
optionalcolor:string
Defined in: src/mobjects/bubble/BubbleBase.ts:16
Stroke color of the outline. Default: white
content
content:
Mobject
Defined in: src/mobjects/bubble/BubbleBase.ts:12
The mobject shown inside the bubble (Text, MathTex, any Mobject). Required.
fillColor?
optionalfillColor:string
Defined in: src/mobjects/bubble/BubbleBase.ts:18
Fill color of the body and tail. Default: black
fillOpacity?
optionalfillOpacity:number
Defined in: src/mobjects/bubble/BubbleBase.ts:20
Fill opacity from 0 to 1. Default: 1
padding?
optionalpadding:number
Defined in: src/mobjects/bubble/BubbleBase.ts:14
Space between the content and the body edge. Default: 0.3
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.
strokeWidth?
optionalstrokeWidth:number
Defined in: src/mobjects/bubble/BubbleBase.ts:22
Stroke width in pixels. Default: 4
tailDirection?
optionaltailDirection:Vector3Tuple
Defined in: src/mobjects/bubble/BubbleBase.ts:29
Direction the tail leaves the body. Default: [-1, -1, 0] (down left)