struct
Opal::UI::Cell
- Opal::UI::Cell
- Struct
- Value
- Object
Overview
Represents a single character cell on the terminal screen grid with color and styling attributes.
Defined in:
opal/ui/cell.crConstructors
- .empty : Cell
- .new(char : Char = ' ', fg : Color = Color.none, bg : Color = Color.none, bold : Bool = false, dim : Bool = false, italic : Bool = false, underline : Bool = false, reverse : Bool = false)
Instance Method Summary
- #==(other : Cell) : Bool
- #bg : Color
- #bg=(bg : Color)
- #bold=(bold : Bool)
- #bold? : Bool
- #char : Char
- #char=(char : Char)
- #dim=(dim : Bool)
- #dim? : Bool
- #fg : Color
- #fg=(fg : Color)
- #italic=(italic : Bool)
- #italic? : Bool
- #reverse=(reverse : Bool)
- #reverse? : Bool
- #underline=(underline : Bool)
- #underline? : Bool
Constructor Detail
def self.new(char : Char = ' ', fg : Color = Color.none, bg : Color = Color.none, bold : Bool = false, dim : Bool = false, italic : Bool = false, underline : Bool = false, reverse : Bool = false)
#