Particle#getLocalBounds()

getLocalBounds() → {Rectangle}

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

Returns
Rectangle -

The rectangular bounding area

Inherited From
Source code: pixi/display/Sprite.js (Line 315)
doc_phaser
2017-02-14 10:55:59
Comments
Leave a Comment

Please login to continue.