Interface: CaptionCardOptions
Defined in: src/mobjects/annotation/CaptionCard.ts:76
Properties
backgroundColor?
optionalbackgroundColor:string
Defined in: src/mobjects/annotation/CaptionCard.ts:102
Background colour the palette derives from. Default: the scene background
backing?
optionalbacking:"none"|"soft"|"panel"
Defined in: src/mobjects/annotation/CaptionCard.ts:90
Legibility backing behind the text: 'soft' (default) a translucent background-colour plate, no stroke; 'panel' a near-background panel with a thin stroke; 'none'.
bodySize?
optionalbodySize:number
Defined in: src/mobjects/annotation/CaptionCard.ts:98
Body size in points. Default: 0.6 x titleSize
corner?
optionalcorner:CaptionCorner
Defined in: src/mobjects/annotation/CaptionCard.ts:80
Frame corner the card hugs. Default: 'bottom-left'
fontFamily?
optionalfontFamily:string
Defined in: src/mobjects/annotation/CaptionCard.ts:94
Font family. Default: the Text default (CMU Serif, manim style)
footnoteSize?
optionalfootnoteSize:number
Defined in: src/mobjects/annotation/CaptionCard.ts:100
Footnote size in points. Default: 0.5 x titleSize
margin?
optionalmargin:number
Defined in: src/mobjects/annotation/CaptionCard.ts:82
Distance from the frame edges (frame units). Default: 4% of the frame height
maxWidth?
optionalmaxWidth:number
Defined in: src/mobjects/annotation/CaptionCard.ts:84
Max text width (frame units); the body wraps to it. Default: 62% of the frame width
scene?
optionalscene:AnnotationScene
Defined in: src/mobjects/annotation/CaptionCard.ts:78
Host scene. Gives the frame size, background and HUD pinning.
swatchStyle?
optionalswatchStyle:"square"|"underline"
Defined in: src/mobjects/annotation/CaptionCard.ts:92
Swatch shape. Default: 'square'
textColor?
optionaltextColor:string
Defined in: src/mobjects/annotation/CaptionCard.ts:104
Primary text colour. Default: derived from the background
titleSize?
optionaltitleSize:number
Defined in: src/mobjects/annotation/CaptionCard.ts:96
Title size in points. Default: scales with the frame (30 pt at height 8)