Rect2i

There is currently no description for this class. Please help us by contributing one!

Note

There are notable differences when using this API with C#. See C# Differences for more information.

Properties

Vector2i

end

Vector2i(0, 0)

Vector2i

position

Vector2i(0, 0)

Vector2i

size

Vector2i(0, 0)

Constructors

Rect2i

Rect2i ( )

Rect2i

Rect2i ( Rect2i from )

Rect2i

Rect2i ( Rect2 from )

Rect2i

Rect2i ( Vector2i position, Vector2i size )

Rect2i

Rect2i ( int x, int y, int width, int height )

Methods

Rect2i

abs ( ) const

bool

encloses ( Rect2i b ) const

Rect2i

expand ( Vector2i to ) const

int

get_area ( ) const

Vector2i

get_center ( ) const

Rect2i

grow ( int amount ) const

Rect2i

grow_individual ( int left, int top, int right, int bottom ) const

Rect2i

grow_side ( int side, int amount ) const

bool

has_area ( ) const

bool

has_point ( Vector2i point ) const

Rect2i

intersection ( Rect2i b ) const

bool

intersects ( Rect2i b ) const

Rect2i

merge ( Rect2i b ) const

Operators

bool

operator != ( Rect2i right )

bool

operator == ( Rect2i right )


Property Descriptions

Vector2i end = Vector2i(0, 0)

There is currently no description for this property. Please help us by contributing one!


Vector2i position = Vector2i(0, 0)

There is currently no description for this property. Please help us by contributing one!


Vector2i size = Vector2i(0, 0)

There is currently no description for this property. Please help us by contributing one!


Constructor Descriptions

Rect2i Rect2i ( )

There is currently no description for this constructor. Please help us by contributing one!


Rect2i Rect2i ( Rect2i from )

There is currently no description for this constructor. Please help us by contributing one!


Rect2i Rect2i ( Rect2 from )

There is currently no description for this constructor. Please help us by contributing one!


Rect2i Rect2i ( Vector2i position, Vector2i size )

There is currently no description for this constructor. Please help us by contributing one!


Rect2i Rect2i ( int x, int y, int width, int height )

There is currently no description for this constructor. Please help us by contributing one!


Method Descriptions

Rect2i abs ( ) const

There is currently no description for this method. Please help us by contributing one!


bool encloses ( Rect2i b ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i expand ( Vector2i to ) const

There is currently no description for this method. Please help us by contributing one!


int get_area ( ) const

There is currently no description for this method. Please help us by contributing one!


Vector2i get_center ( ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i grow ( int amount ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i grow_individual ( int left, int top, int right, int bottom ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i grow_side ( int side, int amount ) const

There is currently no description for this method. Please help us by contributing one!


bool has_area ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_point ( Vector2i point ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i intersection ( Rect2i b ) const

There is currently no description for this method. Please help us by contributing one!


bool intersects ( Rect2i b ) const

There is currently no description for this method. Please help us by contributing one!


Rect2i merge ( Rect2i b ) const

There is currently no description for this method. Please help us by contributing one!


Operator Descriptions

bool operator != ( Rect2i right )

There is currently no description for this operator. Please help us by contributing one!


bool operator == ( Rect2i right )

There is currently no description for this operator. Please help us by contributing one!