Appearance
@shbernal/ts-pptx / index / TableCellDiagonals
Interface: TableCellDiagonals
Defined in: src/types/table.ts:128
A table cell's corner-to-corner rules (a:tcPr/a:lnTlToBr / a:lnBlToTr) — the "Diagonal Down Border" / "Diagonal Up Border" of PowerPoint's border gallery.
Deliberately its own object rather than two more entries on TableCellProps.border's tuple: widening that tuple to six would break every existing caller for a construct almost no deck uses, and the two diagonals are not edges — they do not participate in the perimeter, and they are not inherited by a merged region's covered cells.
Examples
ts
diagonal: { tlToBr: { type:'solid', color:'C00000', width:1 } } // strike a cell outts
diagonal: { tlToBr: { type:'solid' }, blToTr: { type:'solid' } } // an X across the cellProperties
blToTr?
optionalblToTr?:BorderProps
Defined in: src/types/table.ts:132
Bottom-left to top-right (╱, a:lnBlToTr).
tlToBr?
optionaltlToBr?:BorderProps
Defined in: src/types/table.ts:130
Top-left to bottom-right (╲, a:lnTlToBr).