Skip to main content

Interface: BraceLabelOptions

Defined in: mobjects/svg/Brace.ts:65

Options for creating a BraceLabel

Extends

Properties

buff?

optional buff: number

Defined in: mobjects/svg/Brace.ts:17

Buffer distance from the mobject. Default: 0.2

Inherited from

BraceOptions.buff


color?

optional color: string

Defined in: mobjects/svg/Brace.ts:19

Stroke color as CSS color string. Default: WHITE

Inherited from

BraceOptions.color


direction?

optional direction: Vector3Tuple

Defined in: mobjects/svg/Brace.ts:15

Direction to place the brace relative to the mobject. Default: DOWN

Inherited from

BraceOptions.direction


fontSize?

optional fontSize: number

Defined in: mobjects/svg/Brace.ts:69

Font size for text labels. Default: 36


label?

optional label: string | Mobject

Defined in: mobjects/svg/Brace.ts:67

The label to attach (string or Mobject). Default: ''


labelBuff?

optional labelBuff: number

Defined in: mobjects/svg/Brace.ts:71

Buffer between brace tip and label. Default: 0.2


labelColor?

optional labelColor: string

Defined in: mobjects/svg/Brace.ts:73

Color for the label. Default: WHITE


sharpness?

optional sharpness: number

Defined in: mobjects/svg/Brace.ts:23

Sharpness of the brace tip (0-1). Default: 2

Inherited from

BraceOptions.sharpness


strokeWidth?

optional strokeWidth: number

Defined in: mobjects/svg/Brace.ts:21

Stroke width in pixels. Default: 4

Inherited from

BraceOptions.strokeWidth