Skip to main content

Interface: IntegerTableOptions

Defined in: src/mobjects/table/TableVariants.ts:103

Options for creating an IntegerTable

Extends​

Properties​

arrangeInRowsFirst?​

optional arrangeInRowsFirst: boolean

Defined in: src/mobjects/table/Table.ts:39

Whether to arrange entries in rows. Default: true

Inherited from​

TableOptions.arrangeInRowsFirst


backgroundFillOpacity?​

optional backgroundFillOpacity: number

Defined in: src/mobjects/table/Table.ts:45

Background fill opacity. Default: 0

Inherited from​

TableOptions.backgroundFillOpacity


backgroundStrokeColor?​

optional backgroundStrokeColor: string

Defined in: src/mobjects/table/Table.ts:43

Background color for cells. Default: transparent

Inherited from​

TableOptions.backgroundStrokeColor


colLabels?​

optional colLabels: number[]

Defined in: src/mobjects/table/TableVariants.ts:112

Column labels as integers


color?​

optional color: string

Defined in: src/mobjects/table/TableVariants.ts:116

Color for all entries. Default: WHITE


data​

data: number[][]

Defined in: src/mobjects/table/TableVariants.ts:108

2D array of integers


entriesColor?​

optional entriesColor: string

Defined in: src/mobjects/table/Table.ts:41

Color for all entries. If set, overrides individual colors

Inherited from​

TableOptions.entriesColor


fontSize?​

optional fontSize: number

Defined in: src/mobjects/table/TableVariants.ts:114

Font size. Default: 36


hBuff?​

optional hBuff: number

Defined in: src/mobjects/table/Table.ts:33

Horizontal buffer between cells. Default: 0.5

Inherited from​

TableOptions.hBuff


includeOuterLines?​

optional includeOuterLines: boolean

Defined in: src/mobjects/table/Table.ts:29

Whether to include outer lines around the table. Default: true

Inherited from​

TableOptions.includeOuterLines


lineColor?​

optional lineColor: string

Defined in: src/mobjects/table/Table.ts:35

Color of the grid lines. Default: WHITE

Inherited from​

TableOptions.lineColor


lineStrokeWidth?​

optional lineStrokeWidth: number

Defined in: src/mobjects/table/Table.ts:37

Stroke width of grid lines. Default: 2

Inherited from​

TableOptions.lineStrokeWidth


position?​

optional position: Vector3Tuple

Defined in: src/mobjects/table/Table.ts:47

Starting position. Default: ORIGIN

Inherited from​

TableOptions.position


rowLabels?​

optional rowLabels: number[]

Defined in: src/mobjects/table/TableVariants.ts:110

Row labels as integers


topLeftEntry?​

optional topLeftEntry: Mobject

Defined in: src/mobjects/table/Table.ts:27

Top-left element when both row and column labels exist

Inherited from​

TableOptions.topLeftEntry


vBuff?​

optional vBuff: number

Defined in: src/mobjects/table/Table.ts:31

Vertical buffer between cells. Default: 0.3

Inherited from​

TableOptions.vBuff