Rect2i

Undocumented in source.

Constructors

this
this(godot_int p_x, godot_int p_y, godot_int p_width, godot_int p_height)
Undocumented in source.
this
this(Vector2i p_pos, Vector2i p_size)
Undocumented in source.

Members

Aliases

Side
alias Side = int
Undocumented in source.

Enums

sideLeft
anonymousenum sideLeft
Undocumented in source.

Functions

abs
Rect2i abs()
Undocumented in source. Be warned that the author may not have intended to support it.
encloses
bool encloses(Rect2i p_rect)
Undocumented in source. Be warned that the author may not have intended to support it.
end
Vector2i end()
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end(Vector2i p_end)
Undocumented in source. Be warned that the author may not have intended to support it.
expand
Rect2i expand(Vector2i p_vector)
Undocumented in source. Be warned that the author may not have intended to support it.
expandTo
void expandTo(Vector2i p_vector)
Undocumented in source. Be warned that the author may not have intended to support it.
getEnd
Vector2i getEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
grow
Rect2i grow(int p_amount)
Undocumented in source. Be warned that the author may not have intended to support it.
growIndividual
Rect2i growIndividual(int p_left, int p_top, int p_right, int p_bottom)
Undocumented in source. Be warned that the author may not have intended to support it.
growSide
Rect2i growSide(Side p_side, int p_amount)
Undocumented in source. Be warned that the author may not have intended to support it.
growSideBind
Rect2i growSideBind(uint32_t p_side, int p_amount)
Undocumented in source. Be warned that the author may not have intended to support it.
hasNoArea
bool hasNoArea()
Undocumented in source. Be warned that the author may not have intended to support it.
hasPoint
bool hasPoint(Vector2i p_point)
Undocumented in source. Be warned that the author may not have intended to support it.
intersection
Rect2i intersection(Rect2i p_rect)
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(Rect2i p_rect)
Undocumented in source. Be warned that the author may not have intended to support it.
merge
Rect2i merge(Rect2i p_rect)
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
Rect2 opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Rect2i p_rect)
Undocumented in source. Be warned that the author may not have intended to support it.
setEnd
void setEnd(Vector2i p_end)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

position
Vector2i position;
Undocumented in source.
size
Vector2i size;
Undocumented in source.

Meta