vyaz-monorepo / core/src / TableCellStyle
Interface: TableCellStyle
Defined in: core/src/types/TableTypes.ts:80
Style for a single TableCell. Falls back to TableFrame.defaultCellStyle.
Extends
Properties
allowOverflow?
optionalallowOverflow?:boolean
Defined in: core/src/types/TableTypes.ts:100
Let content wider/taller than the cell's padding box paint past its edges instead of being clipped. Default false (clipped) — matches svg-table-core's default.
bgColor?
optionalbgColor?:string
Defined in: core/src/types/TableTypes.ts:82
Cell background fill.
borderColors?
optionalborderColors?:ColorsOnWidth
Defined in: core/src/types/TableTypes.ts:63
Per-side border color, CSS shorthand. Default '#000' when a width is set.
Inherited from
borderPatterns?
optionalborderPatterns?:BorderPatterns
Defined in: core/src/types/TableTypes.ts:68
Per-side SVG stroke-dasharray. A side with no pattern (or the whole property absent) is a solid line. [4, 2] = 4px dash, 2px gap, repeating.
Inherited from
borderShapes?
optionalborderShapes?:Sides<BorderLineCap>
Defined in: core/src/types/TableTypes.ts:70
Per-side stroke-linecap for that side's (dashed or solid) line. Default 'butt'.
Inherited from
borderWidths?
optionalborderWidths?:Widths
Defined in: core/src/types/TableTypes.ts:61
Per-side border width, CSS shorthand. 0 (absent) = no border on that side.
Inherited from
cx?
optionalcx?:number
Defined in: core/src/types/TableTypes.ts:92
Fine-tuning nudge applied to the cell's content position, in px, on top of padding/alignment/verticalAlign. Positive cx moves right, positive cy moves down. Default 0.
cy?
optionalcy?:number
Defined in: core/src/types/TableTypes.ts:94
See
cx
paddings?
optionalpaddings?:Widths
Defined in: core/src/types/TableTypes.ts:84
Inner padding, CSS shorthand. Default 8 on all sides.
rx?
optionalrx?:number
Defined in: core/src/types/TableTypes.ts:72
Uniform corner radius (all four corners). Asymmetric radii are a future addition.
Inherited from
ry?
optionalry?:number
Defined in: core/src/types/TableTypes.ts:74
Uniform corner radius; defaults to rx when only one is given.
Inherited from
verticalAlign?
optionalverticalAlign?:VerticalAlignment
Defined in: core/src/types/TableTypes.ts:86
Vertical alignment of the cell's content within its row height. Default 'top'.
