Interface IPdfBoxGraphics2DColorMapper

All Known Implementing Classes:
PdfBoxGraphics2DColorMapper, RGBtoCMYKColorMapper

public interface IPdfBoxGraphics2DColorMapper
Map Color to PDColor
  • Method Details

    • 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