rect.bbox(angle)

Return a rectangle that is the bounding box of the rectangle taking into account its rotation around center specified by angle degrees.