Top Description Inners Methods
de.rototor.pdfbox.graphics2d

public Interface IPdfBoxGraphics2DColorMapper

Known Direct Implementers
de.rototor.pdfbox.graphics2d.PdfBoxGraphics2DColorMapper
Imports
java.awt.*, org.apache.pdfbox.pdmodel.PDPageContentStream, .PDResources, org.apache.pdfbox.pdmodel.graphics.color.PDColor

Map Color to PDColor

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static interface
IPdfBoxGraphics2DColorMapper.IColorMapperEnv

Environment to use for mapping the given color

Method Summary

Modifier and TypeMethod and Description
public PDColor

Returns:

the mapped color
mapColor
(Color
the color to map
color
,
IPdfBoxGraphics2DColorMapper.IColorMapperEnv
the environment which allow getting the content stream, resources etc.
env
)

Map the given Color to a PDColor

Method Detail

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

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

de.rototor.pdfbox.graphics2d back to summary

public Interface IPdfBoxGraphics2DColorMapper.IColorMapperEnv


Environment to use for mapping the given color

Method Summary

Modifier and TypeMethod and Description
public PDPageContentStream

Returns:

the content stream
getContentStream
()

public PDResources

Returns:

the resources of the resulting XFOrm
getResources
()

Method Detail

getContentStreamback to summary
public PDPageContentStream getContentStream()
Returns:PDPageContentStream

the content stream

getResourcesback to summary
public PDResources getResources()
Returns:PDResources

the resources of the resulting XFOrm