dart:html putImageData method    void putImageData(

ImageData imagedata,  
int dx,  
int dy,  [int? dirtyX,  
int? dirtyY,  
int? dirtyWidth,  
int? dirtyHeight] )  Implementation void putImageData(ImageData imagedata, int dx, int dy,
    [int? dirtyX, int? dirtyY, int? dirtyWidth, int? dirtyHeight]) {
  if (dirtyX == null &&
      dirtyY == null &&
      dirtyWidth == null &&
      dirtyHeight == null) {
    var imagedata_1 = convertDartToNative_ImageData(imagedata);
    _putImageData_1(imagedata_1, dx, dy);
    return;
  }
  if (dirtyHeight != null &&
      dirtyWidth != null &&
      dirtyY != null &&
      dirtyX != null) {
    var imagedata_1 = convertDartToNative_ImageData(imagedata);
    _putImageData_2(
        imagedata_1, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
    return;
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}

    
{'path': 'public/docs/dart~2/dart-html/canvasrenderingcontext2d/putimagedata.html', 'source': 'DevDocs.IO'}