Class: CaptionCard
Defined in: src/mobjects/annotation/CaptionCard.ts:137
Constructors
Constructor
new CaptionCard(
options):CaptionCard
Defined in: src/mobjects/annotation/CaptionCard.ts:150
Parameters
options
CaptionCardOptions = {}
Returns
CaptionCard
Properties
palette
readonlypalette:AnnotationPalette
Defined in: src/mobjects/annotation/CaptionCard.ts:139
scene
readonlyscene:AnnotationScene
Defined in: src/mobjects/annotation/CaptionCard.ts:138
Methods
getVisibleMobjects()
getVisibleMobjects():
Mobject[]
Defined in: src/mobjects/annotation/CaptionCard.ts:172
Mobjects the card shows after the animations created so far.
Returns
Mobject[]
hide()
hide():
Animation
Defined in: src/mobjects/annotation/CaptionCard.ts:209
Fade the whole card out.
Returns
revealAll()
revealAll():
Animation
Defined in: src/mobjects/annotation/CaptionCard.ts:195
Reveal every remaining row together, staggered.
Returns
revealNext()
revealNext():
Animation
Defined in: src/mobjects/annotation/CaptionCard.ts:190
Reveal the next row (body, then footnote, or the next legend row).
Returns
show()
show(
content,options):Animation
Defined in: src/mobjects/annotation/CaptionCard.ts:180
Bring the card in with content. Reveals the title row; pass
reveal: 'all' to bring every row at once.
Parameters
content
options
reveal?
"title" | "all"
Returns
update()
update(
content,options):Animation
Defined in: src/mobjects/annotation/CaptionCard.ts:204
Swap to a new page: the old text fades out, the new title writes in. Same as show while a page is visible.
Parameters
content
options
reveal?
"title" | "all"