paper.getContentBBox()

Return the bounding box of the content inside the paper.