class Termbox::Border

Defined in:

termbox/border.cr

Constructors

Instance Method Summary

Instance methods inherited from class Termbox::Element

render : Array(Cell) render

Constructor Detail

def self.new(pivot : Position, width : Int32, height : Int32, mode : String) #

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


[View source]
def self.new(pivot : Position, width : Int32, height : Int32, char : Char) #

Border based on a single character


[View source]
def self.new(pivot : Position, width : Int32, height : Int32) #

Normal mode


[View source]
def self.new(parent : Container, mode : String) #

[View source]
def self.new(parent : Container, char : Char) #

[View source]
def self.new(parent : Container) #

[View source]

Instance Method Detail

def background : Int32 #

[View source]
def background=(background : Int32) #

[View source]
def char : Char #

[View source]
def foreground : Int32 #

[View source]
def foreground=(foreground : Int32) #

[View source]
def height : Int32 #

[View source]
def mode : String #

[View source]
def pivot : Termbox::Position #

[View source]
def render : Array(Cell) #

Render border


[View source]
def width : Int32 #

[View source]