dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Rect.setPosition
Dgame
Math
Rect
Rect
Set a new position with a vector.
void
setPosition
(
int
x
,
int
y
)
void
setPosition
(
const
Vector2i
position
)
struct
Rect
@
nogc
void
setPosition
pure nothrow
(
const
Vector2i
position
)
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
Set a new position with a vector.