createPattern method

CanvasPattern createPattern (
  1. dynamic image,
  2. String repetitionType
)

Implementation

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