Skip to content

Commit bd19e27

Browse files
committed
update js doc for pattern function
1 parent 36dd9a8 commit bd19e27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/drawing/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,8 +364,11 @@ drawing.gradient = function(sel, gd, gradientID, type, colorscale, prop) {
364364
* for this pattern, so that we don't create unnecessary definitions
365365
* @param {string} bgcolor: background color for this pattern
366366
* @param {string} fgcolor: foreground color for this pattern
367+
* @param {number} fgopacity: foreground opacity for this pattern
367368
* @param {number} size: size of unit squares for repetition of this pattern
368369
* @param {number} solidity: how solid lines of this pattern are
370+
* @param {string} mcc: color when painted with colorscale
371+
* @param {string} fillmode: fillmode for this pattern
369372
* @param {string} prop: the property to apply to, 'fill' or 'stroke'
370373
*/
371374
drawing.pattern = function(sel, gd, patternID, shape, bgcolor, fgcolor, fgopacity, size, solidity, mcc, fillmode, prop) {

0 commit comments

Comments
 (0)