Skip to main content

Interface: Callout3DOptions

Defined in: src/mobjects/annotation/Callout3D.ts:46

Properties​

anchor​

anchor: AnchorTarget

Defined in: src/mobjects/annotation/Callout3D.ts:50

What the leader points at.


anchorLocal?​

optional anchorLocal: Vector3Tuple

Defined in: src/mobjects/annotation/Callout3D.ts:52

A point in the anchor mobject's local frame. Default: the mobject's centre


box?​

optional box: boolean

Defined in: src/mobjects/annotation/Callout3D.ts:66

Draw a thin box around the label. Default: false


color?​

optional color: string

Defined in: src/mobjects/annotation/Callout3D.ts:68

Line, dot and label colour. Default: derived from the scene background


direction?​

optional direction: [number, number]

Defined in: src/mobjects/annotation/Callout3D.ts:58

Label direction from the anchor, in frame units. Default: [1, 0.6]


distance?​

optional distance: number

Defined in: src/mobjects/annotation/Callout3D.ts:60

Label distance from the anchor, in frame units. Default: 16% of the frame height


dotRadius?​

optional dotRadius: number

Defined in: src/mobjects/annotation/Callout3D.ts:76

Anchor dot radius (frame units). Default: 0.045 at frame height 8


fontFamily?​

optional fontFamily: string

Defined in: src/mobjects/annotation/Callout3D.ts:72

Font family. Default: the Text default (manim style)


fontSize?​

optional fontSize: number

Defined in: src/mobjects/annotation/Callout3D.ts:70

Label font size (pt). Default: 19 pt at frame height 8


label​

label: string | Mobject

Defined in: src/mobjects/annotation/Callout3D.ts:54

Label: a string (Text, or MathTex with tex: true) or any mobject.


labelPosition?​

optional labelPosition: [number, number]

Defined in: src/mobjects/annotation/Callout3D.ts:62

Fixed label centre in frame units. When set, the label does not follow the anchor.


leader?​

optional leader: "straight" | "elbow"

Defined in: src/mobjects/annotation/Callout3D.ts:64

Leader shape. 'elbow' runs a short horizontal stub out of the label first. Default: 'straight'


scene​

scene: AnnotationScene

Defined in: src/mobjects/annotation/Callout3D.ts:48

Host scene (ThreeDScene for 3D anchors).


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/annotation/Callout3D.ts:74

Line stroke width. Default: 2


tex?​

optional tex: boolean

Defined in: src/mobjects/annotation/Callout3D.ts:56

Render a string label as MathTex. Default: false