Top Constructors Methods
de.rototor.pdfbox.graphics2d

public Class PdfBoxGraphics2DColorMapper

extends Object
implements IPdfBoxGraphics2DColorMapper
Class Inheritance
All Implemented Interfaces
de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DColorMapper
Known Direct Subclasses
de.rototor.pdfbox.graphics2d.RGBtoCMYKColorMapper
Imports
java.awt.*, org.apache.pdfbox.pdmodel.graphics.color.PDColor, .PDDeviceCMYK, .PDDeviceRGB

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PDColor
mapColor(Color
the color to map
color
,
IPdfBoxGraphics2DColorMapper.IColorMapperEnv
the environment which allow getting the content stream, resources etc.
env
)

Implements de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DColorMapper.mapColor.

Map the given Color to a PDColor

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PdfBoxGraphics2DColorMapperback to summary
public PdfBoxGraphics2DColorMapper()

Method Detail

mapColorback to summary
public PDColor mapColor(Color color, IPdfBoxGraphics2DColorMapper.IColorMapperEnv env)

Implements de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DColorMapper.mapColor.

Doc from de.rototor.pdfbox.graphics2d.IPdfBoxGraphics2DColorMapper.mapColor.

Map the given Color to a PDColor

Parameters
color:Color

the color to map

env:IPdfBoxGraphics2DColorMapper.IColorMapperEnv

the environment which allow getting the content stream, resources etc.

Returns:PDColor

the mapped color

Annotations
@Override