get_bbox#

LayoutInstanceContext.get_bbox(local)#

Get the bounding box of the context.

Parameters:
localbool

Whether to return the bounding box in the local context. If False, the bounding-box in the global context is returned.

Returns:
PolygonData

Bounding box of the context.