Interface BitmapConsumer

All Known Implementing Classes:
BitmapConsumerBaseImpl

public interface BitmapConsumer
Receives events for bitmaps. This interface is experimental and will likely change significantly. A BitmapConsumer can receive multiple bitmaps. The calls to this interface must follow the pattern (startBitmap (addRun)* endBitmap)*.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRun(double xOn, double xOff, double y)
    Add a run of black pixels to the bitmap.
    void
    End of a bitmap.
    void
    startBitmap(int n)
    Called at the beginning of a bitmap.
  • Method Details

    • startBitmap

      void startBitmap(int n)
      Called at the beginning of a bitmap.
      Parameters:
      n - some identifier for the bitmap. The meaning of that identifier is not defined by this interface, but that the contract between the client and the provider of this interface.
    • addRun

      void addRun(double xOn, double xOff, double y)
      Add a run of black pixels to the bitmap.
    • endBitmap

      void endBitmap()
      End of a bitmap.