react-pdf-highlighter-extended
LTWH: {
    height: number;
    left: number;
    top: number;
    width: number;
}

A rectangle as measured by the viewport.

Type declaration

  • height: number

    Height of the rectangle, relative to top left of the viewport.

  • left: number

    The x coordinate of the top-left of the rectangle.

  • top: number

    The y coordinate of the top-left of the rectangle.

  • width: number

    Width of the rectangle, relative to top left of the viewport.