mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Merge pull request #16142 from Snuffleupagus/issue-16134
Fix the JSDoc `returns`-type for two `PageViewport`-methods (issue 16134)
This commit is contained in:
commit
1234d207e9
1 changed files with 2 additions and 2 deletions
|
@ -436,7 +436,7 @@ class PageViewport {
|
||||||
* converting PDF location into canvas pixel coordinates.
|
* converting PDF location into canvas pixel coordinates.
|
||||||
* @param {number} x - The x-coordinate.
|
* @param {number} x - The x-coordinate.
|
||||||
* @param {number} y - The y-coordinate.
|
* @param {number} y - The y-coordinate.
|
||||||
* @returns {Object} Object containing `x` and `y` properties of the
|
* @returns {Array} Array containing `x`- and `y`-coordinates of the
|
||||||
* point in the viewport coordinate space.
|
* point in the viewport coordinate space.
|
||||||
* @see {@link convertToPdfPoint}
|
* @see {@link convertToPdfPoint}
|
||||||
* @see {@link convertToViewportRectangle}
|
* @see {@link convertToViewportRectangle}
|
||||||
|
@ -463,7 +463,7 @@ class PageViewport {
|
||||||
* for converting canvas pixel location into PDF one.
|
* for converting canvas pixel location into PDF one.
|
||||||
* @param {number} x - The x-coordinate.
|
* @param {number} x - The x-coordinate.
|
||||||
* @param {number} y - The y-coordinate.
|
* @param {number} y - The y-coordinate.
|
||||||
* @returns {Object} Object containing `x` and `y` properties of the
|
* @returns {Array} Array containing `x`- and `y`-coordinates of the
|
||||||
* point in the PDF coordinate space.
|
* point in the PDF coordinate space.
|
||||||
* @see {@link convertToViewportPoint}
|
* @see {@link convertToViewportPoint}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue