class PDF::Reader::PageLayout

Takes a collection of TextRun objects and renders them into a single string that best approximates the way theyโ€™d appear on a render PDF page.

media box should be a 4 number array that describes the dimensions of the page to be rendered as described by the pageโ€™s MediaBox attribute