struct SDL::Rect

Defined in:

rect.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

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

[View source]

Instance Method Detail

def h : Int32 #

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

[View source]
def includes?(x : Int32, y : Int32) #

[View source]
def includes?(point : SDL::Point) #

[View source]
def w : Int32 #

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

[View source]
def x : Int32 #

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

[View source]
def y : Int32 #

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

[View source]

Macro Detail

macro [](x, y, w, h) #

[View source]