Skip to content

cupertino-files / CellFormatting

Interface: CellFormatting

Defined in: src/tst/styles.ts:88

Properties

borders?

optional borders?: object

Defined in: src/tst/styles.ts:92

Per-side borders. A side set to null removes that border.

bottom?

optional bottom?: Stroke | null

left?

optional left?: Stroke | null

optional right?: Stroke | null

top?

optional top?: Stroke | null


fill?

optional fill?: Fill

Defined in: src/tst/styles.ts:90

Background: a colour, gradient or image.


padding?

optional padding?: Padding

Defined in: src/tst/styles.ts:93


textWrap?

optional textWrap?: boolean

Defined in: src/tst/styles.ts:97

Wrap text within the cell rather than clipping it.


verticalAlignment?

optional verticalAlignment?: number

Defined in: src/tst/styles.ts:95

0 top, 1 middle, 2 bottom — see VerticalAlignment.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.