Not documented.

Source

static CanvasPattern internalCreateCanvasPattern() {
  return new CanvasPattern._internalWrap();
}