Interface TestScreenshotComparisonAlgorithm.RawImage<DATA>
- Type Parameters:
- DATA- The type of the image data array
- Enclosing interface:
- TestScreenshotComparisonAlgorithm
@NonExtendable
public static interface TestScreenshotComparisonAlgorithm.RawImage<DATA>
A thin wrapper around a raw image data array, so that algorithms can directly access the array which may be more
 efficient than going through a 
NativeImage each time.- 
Method Summary
- 
Method Details- 
widthint width()The width of the image.- Returns:
- The width of the image
 
- 
heightint height()The height of the image.- Returns:
- The height of the image
 
- 
dataDATA data()The raw image data. Each element of this array represents one pixel and is indexed byy * this.width() + x, where (x,y) are the coordinates of the pixel you want to index. The length of the array isthis.width() * this.height().- Returns:
- The raw image data
 
 
-