public static interface SimpleRasterizer.ScanCallback
Modifier and Type | Method and Description |
---|---|
void |
drawScan(int[] scans,
int scanCount3)
Rasterizer calls this method for each scan it produced
|
void drawScan(int[] scans, int scanCount3)
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.Copyright © 2018. All rights reserved.