getBounds(matrix) โ {Rectangle}
Returns the bounds of the mesh as a rectangle. The bounds calculation takes the worldTransform into account.
Parameters
Name | Type | Description |
---|---|---|
matrix | Matrix | the transformation matrix of the sprite |
Returns
Rectangle -
the framing rectangle
- Source code: pixi/extras/Strip.js (Line 405)
Please login to continue.