struct TUI::Rect

Defined in:

tui/rect.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32, y : Int32, w : Int32, h : Int32) #

[View source]
def self.new(w : Int32, h : Int32) #

[View source]

Instance Method Detail

def contains?(i : Int32, j : Int32) : Bool #

[View source]
def h : Int32 #

[View source]
def relative(i, j, e, r) : Rect #

[View source]
def relative(i, j = 0) : Rect #

[View source]
def w : Int32 #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]