addPoly
Adds contour created from line array.
Return
this builder for chaining
Parameters
pts
array of points
close
true to add line connecting contour end and start
Adds contour created from line array.
Return
this builder for chaining
Parameters
coords
flat array of point coordinates (x, y pairs)
close
true to add line connecting contour end and start