dgame ~master (2017-03-31T06:11:13Z)
Home
Dub
Repo
Rect.setSize
Dgame
Math
Rect
Rect
Replace the current size.
void
setSize
(
uint
width
,
uint
height
)
struct
Rect
@
nogc
void
setSize
pure nothrow
(
uint
width
,
uint
height
)
void
setSize
(
const
Size
size
)
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
Replace the current size.