image is HTMLImageElement or HTMLCanvasElement. repetition supports any of the following values: repeat (default)

repeat-x

repeat-y

no-repeat