dgame ~master (2021-12-24T16:32:58.6490046)
Dub
Repo
Rect.setPosition
Dgame
Math
Rect
Rect
Set a new position with coordinates.
void
setPosition
(int x, int y)
struct
Rect
@
nogc
pure nothrow
void
setPosition
(
int
x
,
int
y
)
void
setPosition
(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 coordinates.