UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

18 lines (17 loc) 746 B
import type { Container } from '../Container'; import type { Bounds } from './Bounds'; /** * Does exactly the same as getGlobalBounds, but does instead makes use of transforming AABBs * of the various children within the scene graph. This is much faster, but less accurate. * * Deprecated, use container.getFastGlobalBounds() instead. * * the result will never be smaller - only ever slightly larger (in most cases, it will be the same). * @param target - The target container to get the bounds from * @param bounds - The output bounds object. * @returns The bounds. * @deprecated since 8.7.0 * @see container.getFastGlobalBounds * @internal */ export declare function getFastGlobalBounds(target: Container, bounds: Bounds): Bounds;