createPattern(image, repeat) {
		return this.getContext().createPattern(image, repeat);
	}
Create a pattern with the specified repetition
@param {HTMLImageElement|SVGImageElement|HTMLVideoElement|HTMLCanvasElement|ImageBitmap|OffscreenCanvas|VideoFrame} image - Source image to be used as the pattern's image
@param {string} repeat - Define how the pattern should be repeated
@returns {CanvasPattern}
@see ImageLayer#repeat
@example
let tileable   = renderer.createPattern(image, "repeat");
let horizontal = renderer.createPattern(image, "repeat-x");
let vertical   = renderer.createPattern(image, "repeat-y");
let basic      = renderer.createPattern(image, "no-repeat");