struct Glove::Rect

Defined in:

rect.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(origin : Glove::Point, size : Glove::Size) #

[View source]

Instance Method Detail

def bottom #

[View source]
def contains?(point : Glove::Point) #

[View source]
def grow(size : Float32) #

[View source]
def grow_y(size : Float32) #

[View source]
def height #

[View source]
def left #

[View source]
def origin : Glove::Point #

[View source]
def origin=(origin : Glove::Point) #

[View source]
def overlaps_on_bottom_with?(other : Glove::Rect) #

[View source]
def overlaps_with?(other : Glove::Rect) #

[View source]
def right #

[View source]
def size : Glove::Size #

[View source]
def size=(size : Glove::Size) #

[View source]
def top #

[View source]
def width #

[View source]