dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Rect.contains
Dgame
Math
Rect
Rect
Checks whether this Rect contains the given coordinates.
bool
contains
(
const
Vector2i
vec
)
struct
Rect
@
nogc
bool
contains
const pure nothrow
(
const
Vector2i
vec
)
bool
contains
(
int
x
,
int
y
)
Meta
Source
See Implementation
Dgame
Math
Rect
Rect
constructors
this
enums
Edge
functions
collapse
contains
getCenter
getEdgePosition
getPosition
getSize
getUnion
increase
intersects
isEmpty
move
opBinary
opEquals
setPosition
setSize
variables
height
width
x
y
Checks whether this Rect contains the given coordinates.