| Modifier and Type | Method and Description |
|---|---|
protected void |
PDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern,
PDColor color,
PDColorSpace colorSpace)
Process the given tiling pattern.
|
protected void |
PDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern,
PDColor color,
PDColorSpace colorSpace,
Matrix patternMatrix)
Process the given tiling pattern.
|
| Modifier and Type | Method and Description |
|---|---|
protected PDColorSpace |
SetStrokingColor.getColorSpace()
Returns the stroking color space.
|
protected PDColorSpace |
SetNonStrokingColor.getColorSpace()
Returns the non-stroking color space.
|
protected abstract PDColorSpace |
SetColor.getColorSpace()
Returns either the stroking or non-stroking color space.
|
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDResources.getColorSpace(COSName name)
Returns the color space resource with the given name, or null if none exists.
|
PDColorSpace |
PDResources.getColorSpace(COSName name,
boolean wasDefault)
Returns the color space resource with the given name, or null if none exists.
|
| Modifier and Type | Method and Description |
|---|---|
COSName |
PDResources.add(PDColorSpace colorSpace)
Adds the given color space to the resources of the current page and returns the name for the
new resources.
|
void |
PDResources.put(COSName name,
PDColorSpace colorSpace)
Sets the color space resource with the given name.
|
void |
PDPageContentStream.setNonStrokingColorSpace(PDColorSpace colorSpace)
Deprecated.
|
void |
PDPageContentStream.setStrokingColorSpace(PDColorSpace colorSpace)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PDCalGray
A CalGray colour space is a special case of a single-component CIE-based
colour space.
|
class |
PDCalRGB
A CalRGB colour space is a CIE-based colour space with one transformation stage instead of two.
|
class |
PDCIEBasedColorSpace
CIE-based colour spaces specify colours in a way that is independent of the characteristics
of any particular output device.
|
class |
PDCIEDictionaryBasedColorSpace
CIE-based colour spaces that use a dictionary.
|
class |
PDDeviceCMYK
Allows colors to be specified according to the subtractive CMYK (cyan, magenta, yellow, black)
model typical of printers and other paper-based output devices.
|
class |
PDDeviceColorSpace
Device colour spaces directly specify colours or shades of gray produced by an output device.
|
class |
PDDeviceGray
A color space with black, white, and intermediate shades of gray.
|
class |
PDDeviceN
DeviceN colour spaces may contain an arbitrary number of colour components.
|
class |
PDDeviceRGB
Colours in the DeviceRGB colour space are specified according to the additive
RGB (red-green-blue) colour model.
|
class |
PDICCBased
ICCBased colour spaces are based on a cross-platform colour profile as defined by the
International Color Consortium (ICC).
|
class |
PDIndexed
An Indexed colour space specifies that an area is to be painted using a colour table
of arbitrary colours from another color space.
|
class |
PDJPXColorSpace
A color space embedded in a JPX file.
|
class |
PDLab
A Lab colour space is a CIE-based ABC colour space with two transformation stages.
|
class |
PDPattern
A Pattern color space is either a Tiling pattern or a Shading pattern.
|
class |
PDSeparation
A Separation color space used to specify either additional colorants or for isolating the
control of individual colour components of a device colour space for a subtractive device.
|
class |
PDSpecialColorSpace
Special colour spaces add features or properties to an underlying colour space.
|
| Modifier and Type | Method and Description |
|---|---|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace)
Creates a color space space given a name or array.
|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace,
PDResources resources)
Creates a color space given a name or array.
|
static PDColorSpace |
PDColorSpace.create(COSBase colorSpace,
PDResources resources,
boolean wasDefault)
Creates a color space given a name or array.
|
PDColorSpace |
PDSeparation.getAlternateColorSpace()
Returns the colorant name.
|
PDColorSpace |
PDICCBased.getAlternateColorSpace()
Returns a list of alternate color spaces for non-conforming readers.
|
PDColorSpace |
PDDeviceN.getAlternateColorSpace()
This will get the alternate color space for this separation.
|
PDColorSpace |
PDIndexed.getBaseColorSpace()
Returns the base color space.
|
PDColorSpace |
PDDeviceNProcess.getColorSpace()
Returns the process color space
|
PDColorSpace |
PDColor.getColorSpace()
Returns the color space in which this color value is defined.
|
PDColorSpace |
PDPattern.getUnderlyingColorSpace()
Returns the underlying color space, if this is an uncolored tiling pattern, otherwise null.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDSeparation.setAlternateColorSpace(PDColorSpace colorSpace)
Sets the alternate color space.
|
void |
PDDeviceN.setAlternateColorSpace(PDColorSpace cs)
This will set the alternate color space.
|
void |
PDIndexed.setBaseColorSpace(PDColorSpace base)
Sets the base color space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDDeviceNAttributes.setColorants(Map<String,PDColorSpace> colorants)
Sets the colorant map.
|
| Constructor and Description |
|---|
PDColor(COSArray array,
PDColorSpace colorSpace)
Creates a PDColor containing the given color value.
|
PDColor(COSName patternName,
PDColorSpace colorSpace)
Creates a PDColor containing the given pattern name.
|
PDColor(float[] components,
COSName patternName,
PDColorSpace colorSpace)
Creates a PDColor containing the given color component values and pattern name.
|
PDColor(float[] components,
PDColorSpace colorSpace)
Creates a PDColor containing the given color component values.
|
PDPattern(PDResources resources,
PDColorSpace colorSpace)
Creates a new uncolored tiling pattern color space.
|
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDGroup.getColorSpace()
Returns the blending color space
|
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDInlineImage.getColorSpace() |
PDColorSpace |
PDImageXObjectProxy.getColorSpace() |
PDColorSpace |
PDImageXObject.getColorSpace() |
PDColorSpace |
PDImage.getColorSpace()
Returns the image's color space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDInlineImage.setColorSpace(PDColorSpace colorSpace) |
void |
PDImageXObject.setColorSpace(PDColorSpace cs) |
void |
PDImage.setColorSpace(PDColorSpace colorSpace)
Sets the color space for this image.
|
| Constructor and Description |
|---|
PDImageXObject(PDDocument document,
InputStream filteredStream,
COSBase cosFilter,
int width,
int height,
int bitsPerComponent,
PDColorSpace initColorSpace)
Creates an Image XObject in the given document using the given filtered stream.
|
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDShading.getColorSpace()
This will get the color space or null if none exists.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDShading.setColorSpace(PDColorSpace colorSpace)
This will set the color space for the shading.
|
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDGraphicsState.getNonStrokingColorSpace()
Returns the non-stroking color space.
|
PDColorSpace |
PDGraphicsState.getStrokingColorSpace()
Returns the stroking color space.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PDGraphicsState.setNonStrokingColorSpace(PDColorSpace colorSpace)
Sets the the non-stroking color space.
|
void |
PDGraphicsState.setStrokingColorSpace(PDColorSpace colorSpace)
Sets the the stroking color space.
|
| Modifier and Type | Field and Description |
|---|---|
protected PDColorSpace |
StandardColorSpaceHelper.pdcs
High level object which represents the colors space to check.
|
| Modifier and Type | Method and Description |
|---|---|
ColorSpaceHelper |
ColorSpaceHelperFactory.getColorSpaceHelper(PreflightContext context,
PDColorSpace cs,
ColorSpaceHelperFactory.ColorSpaceRestriction csr)
Return an instance of ColorSpaceHelper according to the ColorSpaceRestiction value.
|
protected void |
StandardColorSpaceHelper.processAllColorSpace(PDColorSpace colorSpace)
Method called by the validate method.
|
protected void |
StandardColorSpaceHelper.processCalibratedColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is a Clibrated Color (CalGary, CalRGB, Lab).
|
protected void |
StandardColorSpaceHelper.processCYMKColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceCYMK.
|
protected boolean |
StandardColorSpaceHelper.processDefaultColorSpace(PDColorSpace colorSpace)
Look up in the closest PDResources objects if there are a default ColorSpace.
|
protected void |
StandardColorSpaceHelper.processDeviceNColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceN.
|
protected void |
DeviceColorSpaceHelper.processDeviceNColorSpace(PDColorSpace colorSpace)
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN)
and returns false.
|
protected void |
StandardColorSpaceHelper.processGrayColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceGray.
|
protected void |
StandardColorSpaceHelper.processICCBasedColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is a ICCBased color space.
|
protected void |
StandardColorSpaceHelper.processIndexedColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is Indexed.
|
protected void |
DeviceColorSpaceHelper.processIndexedColorSpace(PDColorSpace colorSpace)
Indexed color space is authorized only if the BaseColorSpace is a DeviceXXX color space.
|
protected void |
StandardColorSpaceHelper.processPatternColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is a Pattern.
|
protected void |
NoPatternColorSpaceHelper.processPatternColorSpace(PDColorSpace colorSpace)
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN)
and returns false.
|
protected void |
DeviceColorSpaceHelper.processPatternColorSpace(PDColorSpace colorSpace)
This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN)
and returns false.
|
protected void |
StandardColorSpaceHelper.processRGBColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is DeviceRGB.
|
protected void |
StandardColorSpaceHelper.processSeparationColorSpace(PDColorSpace colorSpace)
Method called by the processAllColorSpace if the ColorSpace to check is Separation.
|
| Constructor and Description |
|---|
DeviceColorSpaceHelper(PreflightContext _context,
PDColorSpace _cs) |
NoPatternColorSpaceHelper(PreflightContext _context,
PDColorSpace _cs) |
StandardColorSpaceHelper(PreflightContext _context,
PDColorSpace _cs) |
| Modifier and Type | Method and Description |
|---|---|
static ColorSpaceFeaturesObject |
PBFeaturesObjectCreator.createColorSpaceFeaturesObject(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild)
Constructs new PBColorSpaceFeaturesObjectAdapter
|
| Constructor and Description |
|---|
PBColorSpaceFeaturesObjectAdapter(PDColorSpace colorSpace,
String id,
String iccProfileChild,
String colorSpaceChild)
Constructs new colorspace features object adapter
|
| Modifier and Type | Method and Description |
|---|---|
static PDColorSpace |
ColorSpaceFactory.getColorSpace(PDColorSpace colorSpace,
PDAbstractPattern pattern,
PDInheritableResources resources,
int opm,
boolean overprintingFlag,
PDDocument document,
PDFAFlavour flavour)
Transform object of pdfbox to corresponding object of veraPDF-library (
PDColorSpace to
PBoxPDColorSpace). |
static PDColorSpace |
ColorSpaceFactory.getColorSpace(PDColorSpace colorSpace,
PDDocument document,
PDFAFlavour flavour)
Transform object of pdfbox to corresponding object of veraPDF-library (
PDColorSpace to
PBoxPDColorSpace). |
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
GraphicState.getFillColorSpace() |
PDColorSpace |
GraphicState.getStrokeColorSpace() |
| Modifier and Type | Method and Description |
|---|---|
void |
GraphicState.setFillColorSpace(PDColorSpace fillColorSpace) |
void |
GraphicState.setStrokeColorSpace(PDColorSpace strokeColorSpace) |
| Modifier and Type | Method and Description |
|---|---|
static Map<PDColorSpace,PDColorSpace> |
StaticContainers.getCachedColorSpaces() |
| Modifier and Type | Method and Description |
|---|---|
static void |
StaticContainers.setCachedColorSpaces(Map<PDColorSpace,PDColorSpace> cachedColorSpaces) |
| Constructor and Description |
|---|
PBOpPathPaint(List<COSBase> arguments,
PDAbstractPattern fillPattern,
PDAbstractPattern strokePattern,
PDColorSpace pbStrokeColorSpace,
PDColorSpace pbFillColorSpace,
PDInheritableResources resources,
String type,
int op,
boolean overprintingFlagStroke,
boolean overprintingFlagNonStroke,
PDDocument document,
PDFAFlavour flavour) |
| Constructor and Description |
|---|
PBoxPDColorSpace(PDColorSpace simplePDObject,
String type) |
| Modifier and Type | Method and Description |
|---|---|
PDColorSpace |
PDInheritableResources.getColorSpace(COSName name) |
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.