struct RayLib::Rectangle

Included Modules

Defined in:

raylib/structs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float32, y : Float32, width : Float32, height : Float32) #

[View source]
def self.new(pull : JSON::PullParser) #

def self.new(unwrap : Pointer(Binding::Rectangle)) #

[View source]
def self.new(unwrap : Binding::Rectangle) #

[View source]

Instance Method Detail

def height : Float32 #

[View source]
def height=(height : Float32) #

[View source]
def to_unsafe #

[View source]
def width : Float32 #

[View source]
def width=(width : Float32) #

[View source]
def x : Float32 #

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

[View source]
def y : Float32 #

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

[View source]