getBounds(targetCoordinateSpace) → {Rectangle}
Retrieves the global bounds of the displayObjectContainer as a rectangle. The bounds calculation takes all visible children into consideration.
Parameters
Name | Type | Argument | Description |
---|---|---|---|
targetCoordinateSpace | PIXIDisplayObject | PIXIMatrix | <optional> | Returns a rectangle that defines the area of the display object relative to the coordinate system of the targetCoordinateSpace object. |
Returns
Rectangle -
The rectangular bounding area
- Source code: pixi/display/DisplayObjectContainer.js (Line 280)
Please login to continue.