public class PdfBoxGraphics2DColorMapper extends Object implements IPdfBoxGraphics2DColorMapper
IPdfBoxGraphics2DColorMapper.IColorMapperEnv| Constructor and Description |
|---|
PdfBoxGraphics2DColorMapper() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.pdfbox.pdmodel.graphics.color.PDColor |
mapColor(Color color,
IPdfBoxGraphics2DColorMapper.IColorMapperEnv env)
Map the given Color to a PDColor
|
public org.apache.pdfbox.pdmodel.graphics.color.PDColor mapColor(Color color, IPdfBoxGraphics2DColorMapper.IColorMapperEnv env)
IPdfBoxGraphics2DColorMappermapColor in interface IPdfBoxGraphics2DColorMappercolor - the color to mapenv - the environment which allow getting the content stream, resources
etc.Copyright © 2022. All rights reserved.