Skip to main content

Interface: TourInset

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

The inset of a stop. anchor may name an anchor of the target.

Extends​

Properties​

anchor?​

optional anchor: string | AnchorTarget

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

Anchor point/mobject, or a name the target resolves. Default: the target


anchorLocal?​

optional anchorLocal: Vector3Tuple

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

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

Inherited from​

InsetPanelOptions.anchorLocal


clip?​

optional clip: boolean

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

Clip the content to the box with a stencil mask. Default: false, because the content is already scaled to fit, and a mask currently hides the Line2 strokes of masked VMobjects (lipid tails of a Membrane vanish).

Inherited from​

InsetPanelOptions.clip


color?​

optional color: string

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

Frame, connector and title colour. Default: derived from the background

Inherited from​

InsetPanelOptions.color


content?​

optional content: Mobject[]

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

2D mobjects shown in the box, scaled to fit and centred.

Inherited from​

InsetPanelOptions.content


fillColor?​

optional fillColor: string

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

Box fill. Default: the scene background

Inherited from​

InsetPanelOptions.fillColor


fontFamily?​

optional fontFamily: string

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

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

Inherited from​

InsetPanelOptions.fontFamily


fontSize?​

optional fontSize: number

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

Title font size (pt). Default: 15 pt at frame height 8

Inherited from​

InsetPanelOptions.fontSize


height?​

optional height: number

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

Box height (frame units). Default: 30% of the frame height

Inherited from​

InsetPanelOptions.height


padding?​

optional padding: number

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

Inner padding around the content (frame units). Default: 6% of the box height

Inherited from​

InsetPanelOptions.padding


position?​

optional position: [number, number]

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

Box centre in frame units. Default: upper right of the frame

Inherited from​

InsetPanelOptions.position


title?​

optional title: string

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

Title above the box. Default: 'Close-up'; '' for none

Inherited from​

InsetPanelOptions.title


width?​

optional width: number

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

Box width (frame units). Default: 38% of the frame width

Inherited from​

InsetPanelOptions.width