Interface SimpleRasterizer.ScanCallback

All Known Implementing Classes:
RasterizedGeometry2DImpl.ScanCallbackImpl
Enclosing class:
SimpleRasterizer

public static interface SimpleRasterizer.ScanCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawScan(int[] scans, int scanCount3)
    Rasterizer calls this method for each scan it produced
  • Method Details

    • drawScan

      void drawScan(int[] scans, int scanCount3)
      Rasterizer calls this method for each scan it produced
      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.