dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Rect.contains
Dgame
Math
Rect
Rect
Checks whether this Rect contains the given coordinates.
bool
contains
(Vector2!(T) vec)
bool
contains
(T x, T y)
struct
Rect
(T)
const pure nothrow
bool
contains
(
T
x
,
T
y
)
if
(
isNumeric
!
T
)
Meta
Source
See Implementation
Dgame
Math
Rect
Rect
constructors
this
functions
asArray
collapse
contains
getPosition
getSize
getUnion
increase
intersects
isCollapsed
isEmpty
isZero
move
opBinary
opBinaryRight
opCast
opEquals
set
setPosition
setSize
transferTo
static functions
enclosePoints
variables
height
width
x
y
Checks whether this Rect contains the given coordinates.