Interface: InsetPanelOptions
Defined in: src/mobjects/annotation/InsetPanel.ts:44
Properties
anchor?
optionalanchor:AnchorTarget
Defined in: src/mobjects/annotation/InsetPanel.ts:48
Where the connectors point. No connectors when omitted.
anchorLocal?
optionalanchorLocal:Vector3Tuple
Defined in: src/mobjects/annotation/InsetPanel.ts:50
A point in the anchor mobject's local frame. Default: its centre
clip?
optionalclip: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).
color?
optionalcolor:string
Defined in: src/mobjects/annotation/InsetPanel.ts:70
Frame, connector and title colour. Default: derived from the background
content?
optionalcontent:Mobject[]
Defined in: src/mobjects/annotation/InsetPanel.ts:54
2D mobjects shown in the box, scaled to fit and centred.
fillColor?
optionalfillColor:string
Defined in: src/mobjects/annotation/InsetPanel.ts:72
Box fill. Default: the scene background
fontFamily?
optionalfontFamily:string
Defined in: src/mobjects/annotation/InsetPanel.ts:76
Font family. Default: the Text default (manim style)
fontSize?
optionalfontSize:number
Defined in: src/mobjects/annotation/InsetPanel.ts:74
Title font size (pt). Default: 15 pt at frame height 8
height?
optionalheight:number
Defined in: src/mobjects/annotation/InsetPanel.ts:60
Box height (frame units). Default: 30% of the frame height
padding?
optionalpadding:number
Defined in: src/mobjects/annotation/InsetPanel.ts:62
Inner padding around the content (frame units). Default: 6% of the box height
position?
optionalposition: [number,number]
Defined in: src/mobjects/annotation/InsetPanel.ts:56
Box centre in frame units. Default: upper right of the frame
scene
scene:
AnnotationScene
Defined in: src/mobjects/annotation/InsetPanel.ts:46
Host scene (ThreeDScene for a 3D anchor).
title?
optionaltitle:string
Defined in: src/mobjects/annotation/InsetPanel.ts:52
Title above the box. Default: 'Close-up'; '' for none
width?
optionalwidth:number
Defined in: src/mobjects/annotation/InsetPanel.ts:58
Box width (frame units). Default: 38% of the frame width