fromAbgr8888 method
- int pixel
override
Converts a pixel in the abgr8888 pixel format to this
pixel format.
The method returns the closest color in the palette to the given pixel
.
Implementation
@override
int fromAbgr8888(int pixel) {
return _findClosestIndex(_format.fromAbgr8888(pixel));
}