Interface SimpleRasterizer.ScanCallback

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void drawScan​(int[] scans, int scanCount3)
      Rasterizer calls this method for each scan it produced
    • Method Detail

      • 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.