createPatternFromImage method

CanvasPattern createPatternFromImage(
  1. ImageElement image,
  2. String repetitionType
)

Implementation

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