Skip to main content

Interface: TableOptions

Defined in: mobjects/table/Table.ts:21

Options for creating a Table

Properties

arrangeInRowsFirst?

optional arrangeInRowsFirst: boolean

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

Whether to arrange entries in rows. Default: true


backgroundFillOpacity?

optional backgroundFillOpacity: number

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

Background fill opacity. Default: 0


backgroundStrokeColor?

optional backgroundStrokeColor: string

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

Background color for cells. Default: transparent


colLabels?

optional colLabels: Mobject[]

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

Column labels to display on top


data

data: Mobject[][]

Defined in: mobjects/table/Table.ts:23

2D array of mobjects to display in the table


entriesColor?

optional entriesColor: string

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

Color for all entries. If set, overrides individual colors


hBuff?

optional hBuff: number

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

Horizontal buffer between cells. Default: 0.5


includeOuterLines?

optional includeOuterLines: boolean

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

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


lineColor?

optional lineColor: string

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

Color of the grid lines. Default: WHITE


lineStrokeWidth?

optional lineStrokeWidth: number

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

Stroke width of grid lines. Default: 2


position?

optional position: Vector3Tuple

Defined in: mobjects/table/Table.ts:49

Starting position. Default: ORIGIN


rowLabels?

optional rowLabels: Mobject[]

Defined in: mobjects/table/Table.ts:25

Row labels to display on the left side


topLeftEntry?

optional topLeftEntry: Mobject

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

Top-left element when both row and column labels exist


vBuff?

optional vBuff: number

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

Vertical buffer between cells. Default: 0.3