Rectangle

Undocumented in source.

Members

Aliases

vec2t
alias vec2t = Vector!(T, 2)
Undocumented in source.

Functions

center
vec2t center()
Undocumented in source. Be warned that the author may not have intended to support it.
intersects
bool intersects(rect other)
Undocumented in source. Be warned that the author may not have intended to support it.
normalized
Rectangle!T normalized()
Undocumented in source. Be warned that the author may not have intended to support it.
pos00
vec2t pos00()
Undocumented in source. Be warned that the author may not have intended to support it.
pos01
vec2t pos01()
Undocumented in source. Be warned that the author may not have intended to support it.
pos10
vec2t pos10()
Undocumented in source. Be warned that the author may not have intended to support it.
pos11
vec2t pos11()
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Rectangle!T scale(vec2t size)
Undocumented in source. Be warned that the author may not have intended to support it.
scale
Rectangle!T scale(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
size
vec2t size()
Undocumented in source. Be warned that the author may not have intended to support it.
size
vec2t size(vec2t newSize)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
Rectangle!T translate(T x, T y)
Undocumented in source. Be warned that the author may not have intended to support it.
translate
Rectangle!T translate(vec2t position)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

abs
Rectangle!T abs(T x1, T y1, T x2, T y2)
Undocumented in source. Be warned that the author may not have intended to support it.
abs
Rectangle!T abs(vec2t pos1, T x2, T y2)
Undocumented in source. Be warned that the author may not have intended to support it.
abs
Rectangle!T abs(T x1, T y1, vec2t pos2)
Undocumented in source. Be warned that the author may not have intended to support it.
abs
Rectangle!T abs(vec2t pos1, vec2t pos2)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(T width, T height)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(vec2t size)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(T x, T y, T width, T height)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(vec2t pos, T width, T height)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(T x, T y, vec2t size)
Undocumented in source. Be warned that the author may not have intended to support it.
dim
Rectangle!T dim(vec2t pos, vec2t size)
height
T height;
width
T width;
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

x
T x;
y
T y;
Undocumented in source.

Meta