Class BitmapConsumerBaseImpl

  • All Implemented Interfaces:
    BitmapConsumer

    public class BitmapConsumerBaseImpl
    extends java.lang.Object
    implements BitmapConsumer
    An implementation of BitmapConsumer that does nothing. This is meant to be used as a base class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRun​(double xOn, double xOff, double y)
      Add a run of black pixels to the bitmap.
      void endBitmap()
      End of a bitmap.
      void startBitmap​(int n)
      Called at the beginning of a bitmap.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitmapConsumerBaseImpl

        public BitmapConsumerBaseImpl()
    • Method Detail

      • startBitmap

        public void startBitmap​(int n)
        Description copied from interface: BitmapConsumer
        Called at the beginning of a bitmap.
        Specified by:
        startBitmap in interface BitmapConsumer
        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

        public void addRun​(double xOn,
                           double xOff,
                           double y)
        Add a run of black pixels to the bitmap.
        Specified by:
        addRun in interface BitmapConsumer