Parameter | Description |
---|---|
root | The root node of the hierarchy to computes the bounds from |
Rect An approximation of the node hierarchy axis-aligned bounding-box
Computes a pretty accurate approximation of the scene bounds.
This will properly evaluate the bounds of the paths and shapes, but will ignore the paths stroke widths.