pdfrx_web
    Preparing search index...

    Function pdfRectRotate

    • Rotate a PDF rect by rotation 90-degree steps within page. rotation is masked to 0-3; the page's raw (unrotated) dimensions are derived from its visual size.

      Parameters

      • r: PdfRect

        The rectangle to process.

      • rotation: number

        The clockwise page rotation, in 90-degree steps.

      • page: PageGeometry

        The page to process.

      Returns PdfRect

      The resulting PdfRect.