ImageData createImageData(imagedata_OR_sw, [ num sh ])

Source

ImageData createImageData(imagedata_OR_sw, [num sh]) {
  if ((imagedata_OR_sw is ImageData) && sh == null) {
    return _blink.BlinkCanvasRenderingContext2D.instance.createImageData_Callback_1_(this, imagedata_OR_sw);
  }
  if ((sh is num) && (imagedata_OR_sw is num)) {
    return _blink.BlinkCanvasRenderingContext2D.instance.createImageData_Callback_2_(this, imagedata_OR_sw, sh);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}