struct
   Athena::Console::Helper::Table::CellStyle
    
  - Athena::Console::Helper::Table::CellStyle
 - Struct
 - Value
 - Object
 
Overview
Represents the styling for a specific ACON::Helper::Table::Cell.
Defined in:
helper/table_cell_style.crConstructors
Instance Method Summary
- 
        #align : ACON::Helper::Table::Alignment
        
          
How the text should be aligned in the cell.
 - 
        #background : String
        
          
Returns the background color for this cell.
 - 
        #foreground : String
        
          
Returns the foreground color for this cell.
 - 
        #format : String | Nil
        
          
A
sprintfformat string representing the content of the cell. 
Constructor Detail
Instance Method Detail
Returns the background color for this cell.
Can be any color string supported via [ACON::Formatter::OutputStyleInterface][Athena::Console::Formatter::OutputStyleInterface--inline-styles],
e.g. named ("red") or hexadecimal ("#38bdc2") colors.
Returns the foreground color for this cell.
Can be any color string supported via [ACON::Formatter::OutputStyleInterface][Athena::Console::Formatter::OutputStyleInterface--inline-styles],
e.g. named ("red") or hexadecimal ("#38bdc2") colors.
A sprintf format string representing the content of the cell.
Should have a single %s representing the cell's value.
Can be used to reuse [custom style tags][Athena::Console::Formatter::OutputStyleInterface--custom-styles].
E.g. "<fire>%s</>".