DisplayObjectContainer#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

Source code: pixi/display/DisplayObjectContainer.js (Line 437)
doc_phaser
2017-02-14 10:44:53
Comments
Leave a Comment

Please login to continue.