struct TUI::Border::Custom

Defined in:

tui/border/custom.cr

Constructors

Instance Method Summary

Instance methods inherited from struct TUI::Border

height(w : Int32) : Int32 | Nil
height : Int32 | Nil
height
, initialize initialize, paint(painter : Painter) paint, width(h : Int32) : Int32 | Nil
width : Int32 | Nil
width

Constructor methods inherited from struct TUI::Border

new new

Constructor Detail

def self.new(c_w : Int32 = 0, c_h : Int32 = 0, &block : Painter -> Nil) #

[View source]

Instance Method Detail

def height(w) : Int32 #

[View source]
def height : Int32 #

[View source]
def paint(painter : Painter) #
Description copied from struct TUI::Border

Draw border and push an inner rect for the widget


[View source]
def width(w) : Int32 #

[View source]
def width : Int32 #

[View source]