1. @DomName('CanvasRenderingContext2D.createPatternFromImage')
CanvasPattern createPatternFromImage(ImageElement image, String repetitionType)

Source

@DomName('CanvasRenderingContext2D.createPatternFromImage')
CanvasPattern createPatternFromImage(
        ImageElement image, String repetitionType) =>
    createPattern(image, repetitionType);