LuaRect

Type doc:

Fields:

max: LuaVec2

min: LuaVec2

Methods:

is_empty: function(self: LuaRect ):(boolean)

width: function(self: LuaRect ):(number)

height: function(self: LuaRect ):(number)

size: function(self: LuaRect ):( LuaVec2 )

half_size: function(self: LuaRect ):( LuaVec2 )

center: function(self: LuaRect ):( LuaVec2 )

contains: function(self: LuaRect , LuaVec2 ):(boolean)

union: function(self: LuaRect , LuaRect ):( LuaRect )

union_point: function(self: LuaRect , LuaVec2 ):( LuaRect )

intersect: function(self: LuaRect , LuaRect ):( LuaRect )

inflate: function(self: LuaRect , number):( LuaRect )

normalize: function(self: LuaRect , LuaRect ):( LuaRect )

as_irect: function(self: LuaRect ):( LuaIRect )

as_urect: function(self: LuaRect ):( LuaURect )

clone: function(self: LuaRect ):( LuaRect )

new: function(number , number , number , number):( LuaRect )

from_corners: function( LuaVec2 , LuaVec2 ):( LuaRect )

from_center_size: function( LuaVec2 , LuaVec2 ):( LuaRect )

from_center_half_size: function( LuaVec2 , LuaVec2 ):( LuaRect )

__tostring: function(self: LuaRect ):(string)

__eq: function(any , any):(any)