File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1182,16 +1182,16 @@ class PDFDocumentProxy {
11821182 * Page render parameters.
11831183 *
11841184 * @typedef {Object } RenderParameters
1185- * @property {CanvasRenderingContext2D } canvasContext - 2D context of a DOM
1186- * Canvas object for backwards compatibility; it is recommended to use the
1187- * `canvas` parameter instead.
1188- * If the context must absolutely be used to render the page, the canvas must
1189- * be null.
11901185 * @property {HTMLCanvasElement|null } canvas - A DOM Canvas object. The default
11911186 * value is the canvas associated with the `canvasContext` parameter if no
11921187 * value is provided explicitly.
11931188 * @property {PageViewport } viewport - Rendering viewport obtained by calling
11941189 * the `PDFPageProxy.getViewport` method.
1190+ * @property {CanvasRenderingContext2D } [canvasContext] - 2D context of a DOM
1191+ * Canvas object for backwards compatibility; it is recommended to use the
1192+ * `canvas` parameter instead.
1193+ * If the context must absolutely be used to render the page, the canvas must
1194+ * be null.
11951195 * @property {string } [intent] - Rendering intent, can be 'display', 'print',
11961196 * or 'any'. The default value is 'display'.
11971197 * @property {number } [annotationMode] Controls which annotations are rendered
You can’t perform that action at this time.
0 commit comments