struct CryTUI::Rect

Defined in:

crytui/geometry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Int32 = 0, y : Int32 = 0, width : Int32 = 0, height : Int32 = 0) #

[View source]

Instance Method Detail

def bottom : Int32 #

[View source]
def empty? : Bool #

[View source]
def height : Int32 #

[View source]
def inner(margin : Int32) : Rect #

[View source]
def intersection(other : Rect) : Rect #

[View source]
def left : Int32 #

[View source]
def right : Int32 #

[View source]
def top : Int32 #

[View source]
def width : Int32 #

[View source]
def x : Int32 #

[View source]
def y : Int32 #

[View source]