DisplayObject.getLocalBounds method
DisplayObject › getLocalBounds
Unofficial
Returns the local bounds of the object.Signature:
getLocalBounds(rect?: PixiRectangle | undefined): PixiRectangleParameters:
| Parameter | Type | Description |
|---|---|---|
| rect? | PixiRectangle | undefined | Rectangle to store bounds in. |
Returns: PixiRectangle — The local bounds rectangle.