public class CachingExcelColorSupport extends Object implements ExcelColorProducer
Constructor and Description |
---|
CachingExcelColorSupport(ExcelColorProducer base) |
Modifier and Type | Method and Description |
---|---|
short |
getNearestColor(Color awtColor)
Returns the nearest indexed color for the palette (if palettes are used) or -1 if no palette is used.
|
public CachingExcelColorSupport(ExcelColorProducer base)
public short getNearestColor(Color awtColor)
ExcelColorProducer
getNearestColor
in interface ExcelColorProducer
Copyright © 2017 Hitachi Vantara. All rights reserved.