createPatternFromImage method

CanvasPattern createPatternFromImage (ImageElement image, String repetitionType)

Implementation

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