rmapi-js
    Preparing search index...

    Class PageTransform

    where a page's coordinates land on the page as it is shown, from frame

    Over a notebook page it gives the screen's pixels as the page stands, and over a document page its PDF points, both from the top left corner.

    Index
    • a rectangle of a .highlights file, such as a PageHighlight's from one or a HighlightRect, which counts from the left edge of the page fitted to the screen, whatever the page's version

      Parameters

      Returns StrokeBounds

    • a stroke point's or a .rm highlight's place

      Parameters

      • x: number
      • y: number

      Returns [x: number, y: number]

    • a stroke's width, or any other length in the page's units

      Parameters

      • width: number

      Returns number