SpriteBatch#getLocalBounds()

getLocalBounds() → {Rectangle}

Retrieves the non-global local bounds of the displayObjectContainer as a rectangle without any transformations. The calculation takes all visible children into consideration.

Returns
Rectangle -

The rectangular bounding area

Inherited From
Source code: pixi/display/DisplayObjectContainer.js (Line 437)
doc_phaser
2017-02-14 11:11:58
Comments
Leave a Comment

Please login to continue.