public class LRUColorIndexer extends Object implements ColorIndexer
Constructor and Description |
---|
LRUColorIndexer(IndexColorModel icm,
int maxSize) |
Modifier and Type | Method and Description |
---|---|
int |
getClosestIndex(int r,
int g,
int b,
int a) |
IndexColorModel |
toIndexColorModel() |
public LRUColorIndexer(IndexColorModel icm, int maxSize)
public IndexColorModel toIndexColorModel()
toIndexColorModel
in interface ColorIndexer
IndexColorModel
related to the ColorIndexer
instancepublic int getClosestIndex(int r, int g, int b, int a)
getClosestIndex
in interface ColorIndexer
Copyright © 2006–2017 GeoSolutions. All rights reserved.