You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix types of text method parameters in docs. (#2915)
* Update types of text method parameters in docs.
* Revert "Update types of text method parameters in docs."
This reverts commit e4281a5.
* Update documentation in jspdf.js text method.
Copy file name to clipboardExpand all lines: src/jspdf.js
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3286,14 +3286,14 @@ function jsPDF(options) {
3286
3286
* @param {Object} [options] - Collection of settings signaling how the text must be encoded.
3287
3287
* @param {string} [options.align=left] - The alignment of the text, possible values: left, center, right, justify.
3288
3288
* @param {string} [options.baseline=alphabetic] - Sets text baseline used when drawing the text, possible values: alphabetic, ideographic, bottom, top, middle, hanging
3289
-
* @param {string} [options.angle=0] - Rotate the text clockwise or counterclockwise. Expects the angle in degree.
3290
-
* @param {string} [options.rotationDirection=1] - Direction of the rotation. 0 = clockwise, 1 = counterclockwise.
3291
-
* @param {string} [options.charSpace=0] - The space between each letter.
3292
-
* @param {string} [options.lineHeightFactor=1.15] - The lineheight of each line.
3293
-
* @param {string} [options.flags] - Flags for to8bitStream.
3294
-
* @param {string} [options.flags.noBOM=true] - Don't add BOM to Unicode-text.
3295
-
* @param {string} [options.flags.autoencode=true] - Autoencode the Text.
3296
-
* @param {string} [options.maxWidth=0] - Split the text by given width, 0 = no split.
3289
+
* @param {number|Matrix} [options.angle=0] - Rotate the text clockwise or counterclockwise. Expects the angle in degree.
3290
+
* @param {number} [options.rotationDirection=1] - Direction of the rotation. 0 = clockwise, 1 = counterclockwise.
3291
+
* @param {number} [options.charSpace=0] - The space between each letter.
3292
+
* @param {number} [options.lineHeightFactor=1.15] - The lineheight of each line.
3293
+
* @param {Object} [options.flags] - Flags for to8bitStream.
3294
+
* @param {boolean} [options.flags.noBOM=true] - Don't add BOM to Unicode-text.
3295
+
* @param {boolean} [options.flags.autoencode=true] - Autoencode the Text.
3296
+
* @param {number} [options.maxWidth=0] - Split the text by given width, 0 = no split.
3297
3297
* @param {string} [options.renderingMode=fill] - Set how the text should be rendered, possible values: fill, stroke, fillThenStroke, invisible, fillAndAddForClipping, strokeAndAddPathForClipping, fillThenStrokeAndAddToPathForClipping, addToPathForClipping.
3298
3298
* @param {boolean} [options.isInputVisual] - Option for the BidiEngine
3299
3299
* @param {boolean} [options.isOutputVisual] - Option for the BidiEngine
0 commit comments