struct PF2d::Rect(T)

Defined in:

pf2d/rect.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(top_left : PF2d::Vec2(T), size : PF2d::Vec2(T)) #

[View source]

Instance Method Detail

def bottom_left #

[View source]
def bottom_right #

[View source]
def size : Vec2(T) #

[View source]
def size=(size : Vec2(T)) #

[View source]
def top_left : Vec2(T) #

[View source]
def top_left=(top_left : Vec2(T)) #

[View source]
def top_right #

[View source]