Skip to main content

Interface: MatrixOptions

Defined in: src/mobjects/matrix/Matrix.ts:29

Options for creating a Matrix mobject

Extended by​

Properties​

bracketColor?​

optional bracketColor: string

Defined in: src/mobjects/matrix/Matrix.ts:39

Bracket color. Default: WHITE


bracketStrokeWidth?​

optional bracketStrokeWidth: number

Defined in: src/mobjects/matrix/Matrix.ts:41

Bracket stroke width. Default: DEFAULT_STROKE_WIDTH


bracketType?​

optional bracketType: BracketType

Defined in: src/mobjects/matrix/Matrix.ts:31

Type of brackets to use. Default: '[]'


elementAlignment?​

optional elementAlignment: ElementAlignment

Defined in: src/mobjects/matrix/Matrix.ts:37

Alignment of elements within cells. Default: 'center'


elementColor?​

optional elementColor: string

Defined in: src/mobjects/matrix/Matrix.ts:43

Element color for auto-generated MathTexImage. Default: WHITE


fontSize?​

optional fontSize: number

Defined in: src/mobjects/matrix/Matrix.ts:45

Font size for elements. Default: 48


hBuff?​

optional hBuff: number

Defined in: src/mobjects/matrix/Matrix.ts:35

Horizontal buffer between columns. Default: 1.3


position?​

optional position: Vector3Tuple

Defined in: src/mobjects/matrix/Matrix.ts:47

Position. Default: [0, 0, 0]


vBuff?​

optional vBuff: number

Defined in: src/mobjects/matrix/Matrix.ts:33

Vertical buffer between rows. Default: 0.8