Class RowTypeRendererScanBit

  • All Implemented Interfaces:
    RowTypeRenderer

    public class RowTypeRendererScanBit
    extends java.lang.Object
    implements RowTypeRenderer

    Renders a row of ScanBits to pixel types.

    © 2002 Christian Treber, ct@ctreber.com (Nov 11, 2002)

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void getPixelTypes​(int pRowNo, int[] pPixelTypes)
      Set pixel type for specified row number.
      void setScanBits​(ScanBit[] pScanBits)  
      void startNewRun()
      Each time when rendering an image, call startNewRun() first.
      • Methods inherited from class java.lang.Object

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

      • RowTypeRendererScanBit

        public RowTypeRendererScanBit()
    • Method Detail

      • startNewRun

        public void startNewRun()
        Description copied from interface: RowTypeRenderer

        Each time when rendering an image, call startNewRun() first.

        Specified by:
        startNewRun in interface RowTypeRenderer
      • getPixelTypes

        public void getPixelTypes​(int pRowNo,
                                  int[] pPixelTypes)
        Description copied from interface: RowTypeRenderer

        Set pixel type for specified row number. Note some pixel types might be already set. The renderer can build on this information or overwrite it.

        Specified by:
        getPixelTypes in interface RowTypeRenderer
      • setScanBits

        public void setScanBits​(ScanBit[] pScanBits)