Interface ScreenExportable

All Known Implementing Classes:
ScreenShotImageExporter

public interface ScreenExportable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    export(ByteBuffer data, int width, int height)
    Export the given image data (byte buffer) in a manner of our choosing.
     
  • Method Details

    • export

      void export(ByteBuffer data, int width, int height)
      Export the given image data (byte buffer) in a manner of our choosing. Note that this byte buffer should be treated by the implementing class as immutable and temporary. If you need access to it after returning from the method, make a copy.
      Parameters:
      data - the data from the screen. Please respect the data's limit() value.
      width - the width
      height - the height
    • getFormat

      ImageDataFormat getFormat()
      Returns:
      the image data format we'd like to pull in.