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