Class RasterizedGeometry2DImpl.ScanCallbackImpl

java.lang.Object
com.esri.core.geometry.RasterizedGeometry2DImpl.ScanCallbackImpl
All Implemented Interfaces:
SimpleRasterizer.ScanCallback
Enclosing class:
RasterizedGeometry2DImpl

class RasterizedGeometry2DImpl.ScanCallbackImpl extends Object implements SimpleRasterizer.ScanCallback
  • Field Details

    • m_bitmap

      int[] m_bitmap
    • m_scanlineWidth

      int m_scanlineWidth
    • m_color

      int m_color
  • Constructor Details

    • ScanCallbackImpl

      public ScanCallbackImpl(int[] bitmap, int scanlineWidth)
  • Method Details

    • setColor

      public void setColor(SimpleRasterizer rasterizer, int color)
    • drawScan

      public void drawScan(int[] scans, int scanCount3)
      Description copied from interface: SimpleRasterizer.ScanCallback
      Rasterizer calls this method for each scan it produced
      Specified by:
      drawScan in interface SimpleRasterizer.ScanCallback
      Parameters:
      scans - array of scans. Scans are triplets of numbers. The start X coordinate for the scan (inclusive), the end X coordinate of the scan (exclusive), the Y coordinate for the scan.
      scanCount3 - The number of initialized elements in the scans array. The scan count is scanCount3 / 3.
    • estimateMemorySize

      public long estimateMemorySize()
      Returns an estimate of this object size in bytes.
      Returns:
      Returns an estimate of this object size in bytes.