Class Scanline.ByteBGRScanline

  • Enclosing class:
    Scanline

    protected static final class Scanline.ByteBGRScanline
    extends Scanline
    A Scanline for pixel interleaved byte data with three components. Although its name contains "BGR" it doesn't really matter how the components are organized, als long as there are three of them.
    • Field Detail

      • srcRaster

        private final java.awt.image.Raster srcRaster
      • dstRaster

        private final java.awt.image.WritableRaster dstRaster
      • data

        private final int[] data
    • Constructor Detail

      • ByteBGRScanline

        protected ByteBGRScanline​(java.awt.image.Raster src,
                                  java.awt.image.WritableRaster dst,
                                  int length)
    • Method Detail

      • clear

        protected void clear()
        Specified by:
        clear in class Scanline
      • fetch

        protected void fetch​(int x,
                             int y)
        Specified by:
        fetch in class Scanline
      • shift

        protected void shift​(int[] shift)
        Specified by:
        shift in class Scanline
      • store

        protected void store​(int x,
                             int y)
        Specified by:
        store in class Scanline