Skip to content

PdfJsUtil

Unofficial

Geometry helpers of the PDF.js library.

Only the helpers Obsidian itself uses are described here.

Import:

import type { PdfJsUtil } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface PdfJsUtil

Methods

MethodReturnsDescription
normalizeRect(rect)number[]Reorders the corners of a rectangle so that the first corner is the lower left one.

Links to this page: