Package de.rototor.pdfbox.graphics2d
Interface IPdfBoxGraphics2DColorMapper
-
- All Known Implementing Classes:
PdfBoxGraphics2DColorMapper
,RGBtoCMYKColorMapper
public interface IPdfBoxGraphics2DColorMapper
Map Color to PDColor
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IPdfBoxGraphics2DColorMapper.IColorMapperEnv
Environment 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.PDColor
mapColor(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
-
-