Interface IPdfBoxGraphics2DColorMapper

    • Method Detail

      • mapColor

        org.apache.pdfbox.pdmodel.graphics.color.PDColor mapColor​(Color color,
                                                                  IPdfBoxGraphics2DColorMapper.IColorMapperEnv env)
        Map the given Color to a PDColor
        Parameters:
        color - the color to map
        env - the environment which allow getting the content stream, resources etc.
        Returns:
        the mapped color