Skip to content

Commit e4281a5

Browse files
committed
Update types of text method parameters in docs.
1 parent de1e8ef commit e4281a5

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

docs/jsPDF.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13101,7 +13101,9 @@ <h6>Properties</h6>
1310113101
<td class="type">
1310213102

1310313103

13104-
<span class="param-type">string</span>
13104+
<span class="param-type">numeric</span>
13105+
|
13106+
<span class="param-type">Matrix</span>
1310513107

1310613108

1310713109

@@ -13140,7 +13142,7 @@ <h6>Properties</h6>
1314013142
<td class="type">
1314113143

1314213144

13143-
<span class="param-type">string</span>
13145+
<span class="param-type">number</span>
1314413146

1314513147

1314613148

@@ -13179,7 +13181,7 @@ <h6>Properties</h6>
1317913181
<td class="type">
1318013182

1318113183

13182-
<span class="param-type">string</span>
13184+
<span class="param-type">number</span>
1318313185

1318413186

1318513187

@@ -13218,7 +13220,7 @@ <h6>Properties</h6>
1321813220
<td class="type">
1321913221

1322013222

13221-
<span class="param-type">string</span>
13223+
<span class="param-type">number</span>
1322213224

1322313225

1322413226

@@ -13257,7 +13259,7 @@ <h6>Properties</h6>
1325713259
<td class="type">
1325813260

1325913261

13260-
<span class="param-type">string</span>
13262+
<span class="param-type">Object</span>
1326113263

1326213264

1326313265

@@ -13317,7 +13319,7 @@ <h6>Properties</h6>
1331713319
<td class="type">
1331813320

1331913321

13320-
<span class="param-type">string</span>
13322+
<span class="param-type">boolean</span>
1332113323

1332213324

1332313325

@@ -13356,7 +13358,7 @@ <h6>Properties</h6>
1335613358
<td class="type">
1335713359

1335813360

13359-
<span class="param-type">string</span>
13361+
<span class="param-type">boolean</span>
1336013362

1336113363

1336213364

@@ -13402,7 +13404,7 @@ <h6>Properties</h6>
1340213404
<td class="type">
1340313405

1340413406

13405-
<span class="param-type">string</span>
13407+
<span class="param-type">number</span>
1340613408

1340713409

1340813410

docs/jspdf.js.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3330,14 +3330,14 @@ <h1 class="page-title">jspdf.js</h1>
33303330
* @param {Object} [options] - Collection of settings signaling how the text must be encoded.
33313331
* @param {string} [options.align=left] - The alignment of the text, possible values: left, center, right, justify.
33323332
* @param {string} [options.baseline=alphabetic] - Sets text baseline used when drawing the text, possible values: alphabetic, ideographic, bottom, top, middle, hanging
3333-
* @param {string} [options.angle=0] - Rotate the text clockwise or counterclockwise. Expects the angle in degree.
3334-
* @param {string} [options.rotationDirection=1] - Direction of the rotation. 0 = clockwise, 1 = counterclockwise.
3335-
* @param {string} [options.charSpace=0] - The space between each letter.
3336-
* @param {string} [options.lineHeightFactor=1.15] - The lineheight of each line.
3337-
* @param {string} [options.flags] - Flags for to8bitStream.
3338-
* @param {string} [options.flags.noBOM=true] - Don't add BOM to Unicode-text.
3339-
* @param {string} [options.flags.autoencode=true] - Autoencode the Text.
3340-
* @param {string} [options.maxWidth=0] - Split the text by given width, 0 = no split.
3333+
* @param {number} [options.angle=0] - Rotate the text clockwise or counterclockwise. Expects the angle in degree.
3334+
* @param {number} [options.rotationDirection=1] - Direction of the rotation. 0 = clockwise, 1 = counterclockwise.
3335+
* @param {number} [options.charSpace=0] - The space between each letter.
3336+
* @param {number} [options.lineHeightFactor=1.15] - The lineheight of each line.
3337+
* @param {Object} [options.flags] - Flags for to8bitStream.
3338+
* @param {boolean} [options.flags.noBOM=true] - Don't add BOM to Unicode-text.
3339+
* @param {boolean} [options.flags.autoencode=true] - Autoencode the Text.
3340+
* @param {number} [options.maxWidth=0] - Split the text by given width, 0 = no split.
33413341
* @param {string} [options.renderingMode=fill] - Set how the text should be rendered, possible values: fill, stroke, fillThenStroke, invisible, fillAndAddForClipping, strokeAndAddPathForClipping, fillThenStrokeAndAddToPathForClipping, addToPathForClipping.
33423342
* @param {boolean} [options.isInputVisual] - Option for the BidiEngine
33433343
* @param {boolean} [options.isOutputVisual] - Option for the BidiEngine

0 commit comments

Comments
 (0)