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 {
1182
1182
* Page render parameters.
1183
1183
*
1184
1184
* @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.
1190
1185
* @property {HTMLCanvasElement|null } canvas - A DOM Canvas object. The default
1191
1186
* value is the canvas associated with the `canvasContext` parameter if no
1192
1187
* value is provided explicitly.
1193
1188
* @property {PageViewport } viewport - Rendering viewport obtained by calling
1194
1189
* 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.
1195
1195
* @property {string } [intent] - Rendering intent, can be 'display', 'print',
1196
1196
* or 'any'. The default value is 'display'.
1197
1197
* @property {number } [annotationMode] Controls which annotations are rendered
You can’t perform that action at this time.
0 commit comments