class

Termbox::Border

Inherits Termbox::Element < Reference < Object

Constructors

new(pivot : Position, width : Int32, height : Int32, mode : String)

For special-mode borders (normal, double, solid, cloth_low, cloth_med, cloth_high, dotted)

Source
new(pivot : Position, width : Int32, height : Int32, char : Char)

Border based on a single character

Source
new(pivot : Position, width : Int32, height : Int32)

Normal mode

Source
new(parent : Container, mode : String)
Source
new(parent : Container, char : Char)
Source
new(parent : Container)
Source

Instance methods

background
Source
background=(background : Int32)
Source
char
Source
foreground
Source
foreground=(foreground : Int32)
Source
height
Source
mode
Source
pivot
Source
render

Render border

Source
width
Source