Skip to main content

Interface: ThoughtBubbleOptions

Defined in: src/mobjects/bubble/ThoughtBubble.ts:8

Options shared by every bubble.

Extends​

Properties​

bumpCount?​

optional bumpCount: number

Defined in: src/mobjects/bubble/ThoughtBubble.ts:10

Number of bumps around the cloud. Default: chosen from the cloud size.


color?​

optional color: string

Defined in: src/mobjects/bubble/BubbleBase.ts:16

Stroke color of the outline. Default: white

Inherited from​

BubbleOptions.color


content​

content: Mobject

Defined in: src/mobjects/bubble/BubbleBase.ts:12

The mobject shown inside the bubble (Text, MathTex, any Mobject). Required.

Inherited from​

BubbleOptions.content


fillColor?​

optional fillColor: string

Defined in: src/mobjects/bubble/BubbleBase.ts:18

Fill color of the body and tail. Default: black

Inherited from​

BubbleOptions.fillColor


fillOpacity?​

optional fillOpacity: number

Defined in: src/mobjects/bubble/BubbleBase.ts:20

Fill opacity from 0 to 1. Default: 1

Inherited from​

BubbleOptions.fillOpacity


padding?​

optional padding: number

Defined in: src/mobjects/bubble/BubbleBase.ts:14

Space between the content and the body edge. Default: 0.3

Inherited from​

BubbleOptions.padding


pointAt?​

optional pointAt: 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​

BubbleOptions.pointAt


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/bubble/BubbleBase.ts:22

Stroke width in pixels. Default: 4

Inherited from​

BubbleOptions.strokeWidth


tailDirection?​

optional tailDirection: Vector3Tuple

Defined in: src/mobjects/bubble/BubbleBase.ts:29

Direction the tail leaves the body. Default: [-1, -1, 0] (down left)

Inherited from​

BubbleOptions.tailDirection


trailCount?​

optional trailCount: number

Defined in: src/mobjects/bubble/ThoughtBubble.ts:12

Number of circles in the tail trail. Default: 3


trailLength?​

optional trailLength: number

Defined in: src/mobjects/bubble/ThoughtBubble.ts:16

Distance from the cloud to the last trail circle when no pointAt is set. Default: 1.2


trailRadius?​

optional trailRadius: number

Defined in: src/mobjects/bubble/ThoughtBubble.ts:14

Radius of the first (largest) trail circle. Default: 0.18