Package de.rototor.pdfbox.graphics2d
Interface IPdfBoxGraphics2DColorMapper
-
- All Known Implementing Classes:
PdfBoxGraphics2DColorMapper,RGBtoCMYKColorMapper
public interface IPdfBoxGraphics2DColorMapperMap Color to PDColor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceIPdfBoxGraphics2DColorMapper.IColorMapperEnvEnvironment to use for mapping the given color
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.pdfbox.pdmodel.graphics.color.PDColormapColor(Color color, IPdfBoxGraphics2DColorMapper.IColorMapperEnv env)Map the given Color to a PDColor
-
-
-
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 mapenv- the environment which allow getting the content stream, resources etc.- Returns:
- the mapped color
-
-