newObjectDeferredBegin = function newObjectDeferredBegin(oid, doOutput) {
    doOutput = typeof doOutput === "boolean" ? doOutput : false;
    offsets[oid] = contentLength;

    if (doOutput) {
      out(oid + " 0 obj");
    }

    return oid;
  }
Ends a tiling pattern and sets the render target to the one active before {@link API.beginTilingPattern} has been called.

Only available in "advanced" API mode.

@param {string} key A unique key that is used to reference this pattern at later use.
@param {API.Pattern} pattern The pattern to end.
@memberof jsPDF#
@name endTilingPattern