dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Rect.getPosition
Dgame
Math
Rect
Rect
Returns the current position as Vector2
struct
Rect
(T)
const pure nothrow
Vector2
!(
T
)
getPosition
(
)
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
Returns the current position as Vector2