putImageData method
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"); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/CanvasRenderingContext2D/putImageData.html