Graphics#getLocalBounds()

getLocalBounds() → {Rectangle}

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

Returns
Rectangle -

The rectangular bounding area

Inherited From
Source code: pixi/primitives/Graphics.js (Line 936)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.