dgame v0.4.1 (2015-02-22T14:21:21Z)
Home
Dub
Repo
Shape.calculateCenter
Dgame
Graphics
Shape
Shape
Calculate, store and return the center point.
class
Shape
final override ref pure nothrow
const
(
Vector2s
)
calculateCenter
(
)
Meta
Source
See Implementation
Dgame
Graphics
Shape
Shape
constructors
this
enums
Type
functions
_render
_updateTexCoords
append
bindTexture
calculateCenter
fetchTextureRect
fetchVertexAt
fill
forceUpdate
getBlend
getLineWidth
getSmooth
getType
getVertexAt
getVertices
isFilled
remove
setBlend
setColor
setLineWidth
setSmooth
setTextureRect
setType
static functions
make
makeCircle
variables
_blend
_isFilled
_lineWidth
_needUpdate
_smooth
_tex
_texRect
_type
_vertices
Calculate, store and return the center point.