Package de.rototor.pdfbox.graphics2d
Class PdfBoxGraphics2DColorMapper
- java.lang.Object
-
- de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DColorMapper
-
- All Implemented Interfaces:
IPdfBoxGraphics2DColorMapper
public class PdfBoxGraphics2DColorMapper extends Object implements IPdfBoxGraphics2DColorMapper
-
-
Constructor Summary
Constructors Constructor Description PdfBoxGraphics2DColorMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.pdfbox.pdmodel.graphics.color.PDColormapColor(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, Color color)Map the given Color to a PDColor
-
-
-
Method Detail
-
mapColor
public org.apache.pdfbox.pdmodel.graphics.color.PDColor mapColor(org.apache.pdfbox.pdmodel.PDPageContentStream contentStream, Color color)Description copied from interface:IPdfBoxGraphics2DColorMapperMap the given Color to a PDColor- Specified by:
mapColorin interfaceIPdfBoxGraphics2DColorMapper- Parameters:
contentStream- the content streamcolor- the color to map- Returns:
- the mapped color
-
-