irect

Undocumented in source.

Constructors

this
this(ivec2 position, ivec2 size)
Undocumented in source.
this
this(int x, int y, int width, int height)
Undocumented in source.

Members

Functions

add
void add(ivec2 point)

Adds a point to a rectangle. This results in the smallest rectangle that contains both the rectangle and the point.

area
int area()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(ivec2 point)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
endPosition
ivec2 endPosition()
Undocumented in source. Be warned that the author may not have intended to support it.
endX
int endX()
Undocumented in source. Be warned that the author may not have intended to support it.
endY
int endY()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Unions

__anonymous
union __anonymous
Undocumented in source.
__anonymous
union __anonymous
Undocumented in source.

Meta