ImageData getImageData()

Source

ImageData getImageData() {
  var rect = sourceRectangle;
  var context = renderTexture.canvas.context2D;
  return context.getImageData(rect.left, rect.top, rect.width, rect.height);
}