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
public int getClosestIndex(int r, int g, int b, int a)
getClosestIndex
in interface ColorIndexer
Copyright © 2006–2015 GeoSolutions. All rights reserved.