Package de.rototor.pdfbox.graphics2d
Interface IPdfBoxGraphics2DColorMapper
- All Known Implementing Classes:
PdfBoxGraphics2DColorMapper
,RGBtoCMYKColorMapper
public interface IPdfBoxGraphics2DColorMapper
Map Color to PDColor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Environment to use for mapping the given color -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.pdfbox.pdmodel.graphics.color.PDColor
Map the given Color to a 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 mapenv
- the environment which allow getting the content stream, resources etc.- Returns:
- the mapped color
-