CanvasPattern createPatternFromImage( ImageElement image, String repetitionType) => JS('CanvasPattern', '#.createPattern(#, #)', this, image, repetitionType);