fillWithOptionalPattern = function fillWithOptionalPattern(style, pattern) {
    if (_typeof(pattern) === "object") {
      fillWithPattern(pattern, style);
    } else {
      out(style);
    }
  }
Fill using the even-odd rule and then stroke the current Path. The PDF "B" operator.
@see API.fill
@name fillStrokeEvenOdd
@function
@instance
@param {PatternData=} pattern If provided the path will be fill-stroked with this pattern
@returns {jsPDF}
@memberof jsPDF#