dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Rect.setPosition
Dgame
Math
Rect
Rect
Set a new position with coordinates.
void
setPosition
(T x, T y)
struct
Rect
(T)
pure nothrow
void
setPosition
(
T
x
,
T
y
)
if
(
isNumeric
!
T
)
void
setPosition
(Vector2!(T) position)
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
Set a new position with coordinates.