createPattern method

CanvasPattern createPattern (dynamic image, String repetitionType)

Implementation

CanvasPattern createPattern(
    /*CanvasImageSource*/ image,
    String repetitionType) native;