1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Tweak for the type of PageViewportParameters.viewBox

This commit is contained in:
Takashi Tamura 2020-08-02 17:46:24 +09:00
parent 00a8b42e67
commit 923ba27f1f

View file

@ -194,7 +194,8 @@ class DOMSVGFactory {
/**
* @typedef {Object} PageViewportParameters
* @property {Array} viewBox - The xMin, yMin, xMax and yMax coordinates.
* @property {Array<number>} viewBox - The xMin, yMin, xMax and
* yMax coordinates.
* @property {number} scale - The scale of the viewport.
* @property {number} rotation - The rotation, in degrees, of the viewport.
* @property {number} [offsetX] - The horizontal, i.e. x-axis, offset. The