Package | Description |
---|---|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.edit |
The PDModel edit package will be used to store classes for creating page content.
|
org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
org.apache.pdfbox.pdmodel.graphics.color |
This package deals with colors that are stored in a PDF document.
|
org.apache.pdfbox.pdmodel.graphics.shading |
This package deals with shadings which are used for filling instead of a color.
|
org.apache.pdfbox.pdmodel.graphics.xobject |
This package deals with images that are stored in a PDF document.
|
org.apache.pdfbox.util |
This package contains utility classes that are used by the PDFBox project.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,PDColorSpace> |
PDResources.getColorSpaces() |
This will get the map of colorspaces.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDResources.setColorSpaces(java.util.Map<java.lang.String,PDColorSpace> csValue) |
This will set the map of colorspaces.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDPageContentStream.setNonStrokingColorSpace(PDColorSpace colorSpace) |
Set the stroking color space.
|
void |
PDPageContentStream.setStrokingColorSpace(PDColorSpace colorSpace) |
Set the stroking color space.
|
Modifier and Type | Method | Description |
---|---|---|
PDColorSpace |
PDShading.getColorSpace() |
This will return the Color Space.
|
Modifier and Type | Class | Description |
---|---|---|
class |
PDCalGray |
This class represents a Cal Gray color space.
|
class |
PDCalRGB |
This class represents a Cal RGB color space.
|
class |
PDDeviceCMYK |
This class represents a CMYK color space.
|
class |
PDDeviceGray |
This class represents a Gray color space.
|
class |
PDDeviceN |
This class represents a DeviceN color space.
|
class |
PDDeviceRGB |
This class represents an RGB color space.
|
class |
PDICCBased |
This class represents a ICC profile color space.
|
class |
PDIndexed |
This class represents an Indexed color space.
|
class |
PDLab |
This class represents a Lab color space.
|
class |
PDPattern |
This class represents a Pattern color space.
|
class |
PDSeparation |
This class represents a Separation color space.
|
Modifier and Type | Method | Description |
---|---|---|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(java.lang.String colorSpaceName) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(java.lang.String colorSpaceName,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces,
java.util.Map<java.lang.String,PDPatternResources> patterns) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(PDDocument doc,
java.awt.color.ColorSpace cs) |
This will create the correct color space from a java colorspace.
|
PDColorSpace |
PDDeviceN.getAlternateColorSpace() |
This will get the alternate color space for this separation.
|
PDColorSpace |
PDSeparation.getAlternateColorSpace() |
This will get the alternate color space for this separation.
|
PDColorSpace |
PDIndexed.getBaseColorSpace() |
This will get the color space that acts as the index for this color space.
|
PDColorSpace |
PDColorState.getColorSpace() |
This will get the current colorspace.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDDeviceN.setAlternateColorSpace(PDColorSpace cs) |
This will set the alternate color space.
|
void |
PDSeparation.setAlternateColorSpace(PDColorSpace cs) |
This will set the alternate color space.
|
void |
PDIndexed.setBaseColorSpace(PDColorSpace base) |
This will set the base color space.
|
void |
PDColorState.setColorSpace(PDColorSpace value) |
This will set the current colorspace.
|
Modifier and Type | Method | Description |
---|---|---|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(java.lang.String colorSpaceName,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces) |
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
java.util.Map<java.lang.String,PDColorSpace> colorSpaces,
java.util.Map<java.lang.String,PDPatternResources> patterns) |
This will create the correct color space given the name.
|
Modifier and Type | Field | Description |
---|---|---|
protected PDColorSpace |
ShadingContext.colorSpace |
Modifier and Type | Method | Description |
---|---|---|
PDColorSpace |
PDShadingResources.getColorSpace() |
This will get the color space or null if none exists.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDShadingResources.setColorSpace(PDColorSpace newColorspace) |
This will set the color space for the shading.
|
Modifier and Type | Method | Description |
---|---|---|
PDColorSpace |
PDXObjectImage.getColorSpace() |
This will get the color space.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDXObjectImage.setColorSpace(PDColorSpace cs) |
This will set the color space for this image.
|
Modifier and Type | Method | Description |
---|---|---|
PDColorSpace |
ImageParameters.getColorSpace() |
This will get the color space or null if none exists.
|
PDColorSpace |
ImageParameters.getColorSpace(java.util.Map colorSpaces) |
This will get the color space or null if none exists.
|
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<java.lang.String,PDColorSpace> |
PDFStreamEngine.getColorSpaces() |
Modifier and Type | Method | Description |
---|---|---|
void |
ImageParameters.setColorSpace(PDColorSpace cs) |
This will set the color space for this image.
|
Modifier and Type | Method | Description |
---|---|---|
void |
PDFStreamEngine.setColorSpaces(java.util.Map<java.lang.String,PDColorSpace> value) |