DisplayObject.getBounds method
DisplayObject › getBounds
Unofficial
Returns the bounds of the object.Signature:
getBounds(skipUpdate?: boolean, rect?: PixiRectangle): PixiRectangleParameters:
| Parameter | Type | Description |
|---|---|---|
| skipUpdate? | boolean | Whether to skip the update. |
| rect? | PixiRectangle | Rectangle to store bounds in. |
Returns: PixiRectangle — The bounds rectangle.