Merge pull request #12162 from tamuratak/viewbox

Tweak for the type of PageViewportParameters.viewBox (PR 12102 follow-up)
This commit is contained in:
Tim van der Meij 2020-08-03 22:35:28 +02:00 committed by GitHub
commit 82fece76df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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