Skip to content

Commit d3b7d7b

Browse files
author
Ben Gribaudo
committed
Updating in-code docs re posponed style setting
1 parent 991a7fa commit d3b7d7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

jspdf.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ var jsPDF = (function(global) {
10121012
* @param {Number} x Coordinate (in units declared at inception of PDF document) against left edge of the page
10131013
* @param {Number} y Coordinate (in units declared at inception of PDF document) against upper edge of the page
10141014
* @param {Number} scale (Defaults to [1.0,1.0]) x,y Scaling factor for all vectors. Elements can be any floating number Sub-one makes drawing smaller. Over-one grows the drawing. Negative flips the direction.
1015-
* @param {String} style One of 'S' (the default), 'F', 'FD', 'DF' or null. 'S' draws just the curve. 'F' fills the region defined by the curves. 'DF' or 'FD' draws the curves and fills the region. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
1015+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
10161016
* @param {Boolean} closed If true, the path is closed with a straight line from the end of the last curve to the starting point.
10171017
* @function
10181018
* @returns {jsPDF}
@@ -1091,7 +1091,7 @@ var jsPDF = (function(global) {
10911091
* @param {Number} y Coordinate (in units declared at inception of PDF document) against upper edge of the page
10921092
* @param {Number} w Width (in units declared at inception of PDF document)
10931093
* @param {Number} h Height (in units declared at inception of PDF document)
1094-
* @param {String} style (Defaults to active fill/stroke style) A string signalling if stroke, fill or both are to be applied.
1094+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
10951095
* @function
10961096
* @returns {jsPDF}
10971097
* @methodOf jsPDF#
@@ -1123,7 +1123,7 @@ var jsPDF = (function(global) {
11231123
* @param {Number} y2 Coordinate (in units declared at inception of PDF document) against upper edge of the page
11241124
* @param {Number} x3 Coordinate (in units declared at inception of PDF document) against left edge of the page
11251125
* @param {Number} y3 Coordinate (in units declared at inception of PDF document) against upper edge of the page
1126-
* @param {String} style (Defaults to active fill/stroke style) A string signalling if stroke, fill or both are to be applied.
1126+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
11271127
* @function
11281128
* @returns {jsPDF}
11291129
* @methodOf jsPDF#
@@ -1153,7 +1153,7 @@ var jsPDF = (function(global) {
11531153
* @param {Number} h Height (in units declared at inception of PDF document)
11541154
* @param {Number} rx Radius along x axis (in units declared at inception of PDF document)
11551155
* @param {Number} rx Radius along y axis (in units declared at inception of PDF document)
1156-
* @param {String} style (Defaults to active fill/stroke style) A string signalling if stroke, fill or both are to be applied.
1156+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
11571157
* @function
11581158
* @returns {jsPDF}
11591159
* @methodOf jsPDF#
@@ -1186,7 +1186,7 @@ var jsPDF = (function(global) {
11861186
* @param {Number} y Coordinate (in units declared at inception of PDF document) against upper edge of the page
11871187
* @param {Number} rx Radius along x axis (in units declared at inception of PDF document)
11881188
* @param {Number} rx Radius along y axis (in units declared at inception of PDF document)
1189-
* @param {String} style (Defaults to active fill/stroke style) A string signalling if stroke, fill or both are to be applied.
1189+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
11901190
* @function
11911191
* @returns {jsPDF}
11921192
* @methodOf jsPDF#
@@ -1249,7 +1249,7 @@ var jsPDF = (function(global) {
12491249
* @param {Number} x Coordinate (in units declared at inception of PDF document) against left edge of the page
12501250
* @param {Number} y Coordinate (in units declared at inception of PDF document) against upper edge of the page
12511251
* @param {Number} r Radius (in units declared at inception of PDF document)
1252-
* @param {String} style (Defaults to active fill/stroke style) A string signalling if stroke, fill or both are to be applied.
1252+
* @param {String} style A string specifying the painting style or null. Valid styles include: 'S' [default] - stroke, 'F' - fill, and 'DF' (or 'FD') - fill then stroke. A null value postpones setting the style so that a shape may be composed using multiple method calls. The last drawing method call used to define the shape should not have a null style argument.
12531253
* @function
12541254
* @returns {jsPDF}
12551255
* @methodOf jsPDF#

0 commit comments

Comments
 (0)