Class XSSFExcelColorProducer

    • Constructor Detail

      • XSSFExcelColorProducer

        public XSSFExcelColorProducer()
    • Method Detail

      • getNearestColor

        public short getNearestColor​(Color awtColor)
        Description copied from interface: ExcelColorProducer
        Returns the nearest indexed color for the palette (if palettes are used) or -1 if no palette is used.
        Specified by:
        getNearestColor in interface ExcelColorProducer
        Returns: