class Termbox::Border
- Termbox::Border
- Termbox::Element
- Reference
- Object
Defined in:
termbox/border.crConstructors
-
.new(pivot : Position, width : Int32, height : Int32, mode : String)
For special-mode borders (normal, double, solid, cloth_low, cloth_med, cloth_high, dotted)
-
.new(pivot : Position, width : Int32, height : Int32, char : Char)
Border based on a single character
-
.new(pivot : Position, width : Int32, height : Int32)
Normal mode
- .new(parent : Container, mode : String)
- .new(parent : Container, char : Char)
- .new(parent : Container)
Instance Method Summary
- #background : Int32
- #background=(background : Int32)
- #char : Char
- #foreground : Int32
- #foreground=(foreground : Int32)
- #height : Int32
- #mode : String
- #pivot : Termbox::Position
-
#render : Array(Cell)
Render border
- #width : Int32
Instance methods inherited from class Termbox::Element
render : Array(Cell)
render
Constructor Detail
For special-mode borders (normal, double, solid, cloth_low, cloth_med, cloth_high, dotted)
Border based on a single character