Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TableCellStyle

import type { TableCellStyle } from "https://googleapis.deno.dev/v1/docs:v1.ts";

The style of a TableCell. Inherited table cell styles are represented as unset fields in this message. A table cell style can inherit from the table's style.

interface TableCellStyle {
backgroundColor?: OptionalColor;
borderBottom?: TableCellBorder;
borderLeft?: TableCellBorder;
borderRight?: TableCellBorder;
borderTop?: TableCellBorder;
columnSpan?: number;
contentAlignment?:
| "CONTENT_ALIGNMENT_UNSPECIFIED"
| "CONTENT_ALIGNMENT_UNSUPPORTED"
| "TOP"
| "MIDDLE"
| "BOTTOM";
paddingBottom?: Dimension;
paddingLeft?: Dimension;
paddingRight?: Dimension;
paddingTop?: Dimension;
rowSpan?: number;
}

§Properties

§
backgroundColor?: OptionalColor
[src]

The background color of the cell.

§
borderBottom?: TableCellBorder
[src]

The bottom border of the cell.

§

The left border of the cell.

§
borderRight?: TableCellBorder
[src]

The right border of the cell.

§

The top border of the cell.

§
columnSpan?: number
[src]

The column span of the cell. This property is read-only.

§
contentAlignment?: "CONTENT_ALIGNMENT_UNSPECIFIED" | "CONTENT_ALIGNMENT_UNSUPPORTED" | "TOP" | "MIDDLE" | "BOTTOM"
[src]

The alignment of the content in the table cell. The default alignment matches the alignment for newly created table cells in the Docs editor.

§
paddingBottom?: Dimension
[src]

The bottom padding of the cell.

§
paddingLeft?: Dimension
[src]

The left padding of the cell.

§
paddingRight?: Dimension
[src]

The right padding of the cell.

§
paddingTop?: Dimension
[src]

The top padding of the cell.

§
rowSpan?: number
[src]

The row span of the cell. This property is read-only.