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 and Description |
---|---|
Map<String,PDColorSpace> |
PDResources.getColorSpaces()
This will get the map of colorspaces.
|
Modifier and Type | Method and Description |
---|---|
void |
PDResources.setColorSpaces(Map<String,PDColorSpace> csValue)
This will set the map of colorspaces.
|
Modifier and Type | Method and 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 and Description |
---|---|
PDColorSpace |
PDShading.getColorSpace()
This will return the Color Space.
|
Modifier and Type | Class and 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 and Description |
---|---|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
Map<String,PDColorSpace> colorSpaces)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
Map<String,PDColorSpace> colorSpaces,
Map<String,PDPatternResources> patterns)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(PDDocument doc,
ColorSpace cs)
This will create the correct color space from a java colorspace.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(String colorSpaceName)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(String colorSpaceName,
Map<String,PDColorSpace> colorSpaces)
This will create the correct color space given the name.
|
PDColorSpace |
PDSeparation.getAlternateColorSpace()
This will get the alternate color space for this separation.
|
PDColorSpace |
PDDeviceN.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 and Description |
---|---|
void |
PDSeparation.setAlternateColorSpace(PDColorSpace cs)
This will set the alternate color space.
|
void |
PDDeviceN.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 and Description |
---|---|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
Map<String,PDColorSpace> colorSpaces)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(COSBase colorSpace,
Map<String,PDColorSpace> colorSpaces,
Map<String,PDPatternResources> patterns)
This will create the correct color space given the name.
|
static PDColorSpace |
PDColorSpaceFactory.createColorSpace(String colorSpaceName,
Map<String,PDColorSpace> colorSpaces)
This will create the correct color space given the name.
|
Modifier and Type | Field and Description |
---|---|
protected PDColorSpace |
ShadingContext.colorSpace |
Modifier and Type | Method and Description |
---|---|
PDColorSpace |
PDShadingResources.getColorSpace()
This will get the color space or null if none exists.
|
Modifier and Type | Method and Description |
---|---|
void |
PDShadingResources.setColorSpace(PDColorSpace newColorspace)
This will set the color space for the shading.
|
Modifier and Type | Method and Description |
---|---|
PDColorSpace |
PDXObjectImage.getColorSpace()
This will get the color space.
|
Modifier and Type | Method and Description |
---|---|
void |
PDXObjectImage.setColorSpace(PDColorSpace cs)
This will set the color space for this image.
|
Modifier and Type | Method and Description |
---|---|
PDColorSpace |
ImageParameters.getColorSpace()
This will get the color space or null if none exists.
|
PDColorSpace |
ImageParameters.getColorSpace(Map colorSpaces)
This will get the color space or null if none exists.
|
Modifier and Type | Method and Description |
---|---|
Map<String,PDColorSpace> |
PDFStreamEngine.getColorSpaces() |
Modifier and Type | Method and Description |
---|---|
void |
ImageParameters.setColorSpace(PDColorSpace cs)
This will set the color space for this image.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFStreamEngine.setColorSpaces(Map<String,PDColorSpace> value) |
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.