Uses of Class
org.apache.pdfbox.pdmodel.graphics.color.PDColorSpace
-
Packages that use PDColorSpace Package Description org.apache.pdfbox.contentstream This package contains provides classes for working with content streams.org.apache.pdfbox.contentstream.operator.color org.apache.pdfbox.debugger.colorpane org.apache.pdfbox.pdmodel The PDModel package represents a high level API for creating and manipulating PDF documents.org.apache.pdfbox.pdmodel.graphics.color This package deals with colors that are stored in a PDF document.org.apache.pdfbox.pdmodel.graphics.form This package deals with Form XObjects that are stored in a PDF document.org.apache.pdfbox.pdmodel.graphics.image This package deals with images 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.state This package deals with graphics states within the PDF document.org.apache.pdfbox.preflight.content org.apache.pdfbox.preflight.graphic org.apache.pdfbox.rendering -
-
Uses of PDColorSpace in org.apache.pdfbox.contentstream
Methods in org.apache.pdfbox.contentstream with parameters of type PDColorSpace Modifier and Type Method Description protected voidPDFStreamEngine. processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace)Process the given tiling pattern.protected voidPDFStreamEngine. processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace, Matrix patternMatrix)Process the given tiling pattern. -
Uses of PDColorSpace in org.apache.pdfbox.contentstream.operator.color
Methods in org.apache.pdfbox.contentstream.operator.color that return PDColorSpace Modifier and Type Method Description protected abstract PDColorSpaceSetColor. getColorSpace()Returns either the stroking or non-stroking color space.protected PDColorSpaceSetNonStrokingColor. getColorSpace()Returns the non-stroking color space.protected PDColorSpaceSetStrokingColor. getColorSpace()Returns the stroking color space. -
Uses of PDColorSpace in org.apache.pdfbox.debugger.colorpane
Fields in org.apache.pdfbox.debugger.colorpane declared as PDColorSpace Modifier and Type Field Description private PDColorSpaceCSArrayBased. colorSpace -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel
Fields in org.apache.pdfbox.pdmodel with type parameters of type PDColorSpace Modifier and Type Field Description private java.util.Map<COSObject,java.lang.ref.SoftReference<PDColorSpace>>DefaultResourceCache. colorSpacesprotected java.util.Deque<PDColorSpace>PDAbstractContentStream. nonStrokingColorSpaceStackprotected java.util.Deque<PDColorSpace>PDAbstractContentStream. strokingColorSpaceStackMethods in org.apache.pdfbox.pdmodel that return PDColorSpace Modifier and Type Method Description PDColorSpaceDefaultResourceCache. getColorSpace(COSObject indirect)PDColorSpacePDResources. getColorSpace(COSName name)Returns the color space resource with the given name, or null if none exists.PDColorSpacePDResources. getColorSpace(COSName name, boolean wasDefault)Returns the color space resource with the given name, or null if none exists.PDColorSpaceResourceCache. getColorSpace(COSObject indirect)Returns the color space resource for the given indirect object, if it is in the cache.PDColorSpaceDefaultResourceCache. removeColorSpace(COSObject indirect)default PDColorSpaceResourceCache. removeColorSpace(COSObject indirect)Removes the given indirect color space resource from the cache.Methods in org.apache.pdfbox.pdmodel with parameters of type PDColorSpace Modifier and Type Method Description COSNamePDResources. add(PDColorSpace colorSpace)Adds the given color space to the resources of the current page and returns the name for the new resources.protected COSNamePDAbstractContentStream. getName(PDColorSpace colorSpace)voidDefaultResourceCache. put(COSObject indirect, PDColorSpace colorSpace)voidPDResources. put(COSName name, PDColorSpace colorSpace)Sets the color space resource with the given name.voidResourceCache. put(COSObject indirect, PDColorSpace colorSpace)Puts the given indirect color space resource in the cache.protected voidPDAbstractContentStream. setNonStrokingColorSpaceStack(PDColorSpace colorSpace)protected voidPDAbstractContentStream. setStrokingColorSpaceStack(PDColorSpace colorSpace) -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.color
Subclasses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.color Modifier and Type Class Description classPDCalGrayA CalGray colour space is a special case of a single-component CIE-based colour space.classPDCalRGBA CalRGB colour space is a CIE-based colour space with one transformation stage instead of two.classPDCIEBasedColorSpaceCIE-based colour spaces specify colours in a way that is independent of the characteristics of any particular output device.classPDCIEDictionaryBasedColorSpaceCIE-based colour spaces that use a dictionary.classPDDeviceCMYKAllows colors to be specified according to the subtractive CMYK (cyan, magenta, yellow, black) model typical of printers and other paper-based output devices.classPDDeviceColorSpaceDevice colour spaces directly specify colours or shades of gray produced by an output device.classPDDeviceGrayA color space with black, white, and intermediate shades of gray.classPDDeviceNDeviceN colour spaces may contain an arbitrary number of colour components.classPDDeviceRGBColours in the DeviceRGB colour space are specified according to the additive RGB (red-green-blue) colour model.classPDICCBasedICCBased color spaces are based on a cross-platform color profile as defined by the International Color Consortium (ICC).classPDIndexedAn Indexed colour space specifies that an area is to be painted using a colour table of arbitrary colours from another color space.classPDJPXColorSpaceA color space embedded in a JPX file.classPDLabA Lab colour space is a CIE-based ABC colour space with two transformation stages.classPDPatternA Pattern color space is either a Tiling pattern or a Shading pattern.classPDSeparationA 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.classPDSpecialColorSpaceSpecial colour spaces add features or properties to an underlying colour space.Fields in org.apache.pdfbox.pdmodel.graphics.color declared as PDColorSpace Modifier and Type Field Description private PDColorSpacePDDeviceN. alternateColorSpaceprivate PDColorSpacePDICCBased. alternateColorSpaceprivate PDColorSpacePDSeparation. alternateColorSpaceprivate PDColorSpacePDIndexed. baseColorSpaceprivate PDColorSpacePDColor. colorSpaceprivate PDColorSpacePDDeviceN. processColorSpaceprivate PDColorSpacePDPattern. underlyingColorSpaceMethods in org.apache.pdfbox.pdmodel.graphics.color that return PDColorSpace Modifier and Type Method Description static PDColorSpacePDColorSpace. create(COSBase colorSpace)Creates a color space given a name or array.static PDColorSpacePDColorSpace. create(COSBase colorSpace, PDResources resources)Creates a color space given a name or array.static PDColorSpacePDColorSpace. create(COSBase colorSpace, PDResources resources, boolean wasDefault)Creates a color space given a name or array.private static PDColorSpacePDColorSpace. createFromCOSObject(COSObject colorSpace, PDResources resources)PDColorSpacePDDeviceN. getAlternateColorSpace()This will get the alternate color space for this separation.PDColorSpacePDICCBased. getAlternateColorSpace()Returns a list of alternate color spaces for non-conforming readers.PDColorSpacePDSeparation. getAlternateColorSpace()Returns the colorant name.PDColorSpacePDIndexed. getBaseColorSpace()Returns the base color space.PDColorSpacePDColor. getColorSpace()Returns the color space in which this color value is defined.PDColorSpacePDDeviceNProcess. getColorSpace()Returns the process color spacePDColorSpacePDPattern. getUnderlyingColorSpace()Returns the underlying color space, if this is an uncolored tiling pattern, otherwise null.Methods in org.apache.pdfbox.pdmodel.graphics.color with parameters of type PDColorSpace Modifier and Type Method Description voidPDDeviceN. setAlternateColorSpace(PDColorSpace cs)This will set the alternate color space.voidPDSeparation. setAlternateColorSpace(PDColorSpace colorSpace)Sets the alternate color space.voidPDIndexed. setBaseColorSpace(PDColorSpace base)Sets the base color space.Method parameters in org.apache.pdfbox.pdmodel.graphics.color with type arguments of type PDColorSpace Modifier and Type Method Description voidPDICCBased. setAlternateColorSpaces(java.util.List<PDColorSpace> list)Sets the list of alternateColorSpace color spaces.voidPDDeviceNAttributes. setColorants(java.util.Map<java.lang.String,PDColorSpace> colorants)Sets the colorant map.Constructors in org.apache.pdfbox.pdmodel.graphics.color with parameters of type PDColorSpace Constructor Description 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.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.PDPattern(PDResources resources, PDColorSpace colorSpace)Creates a new uncolored tiling pattern color space. -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.form
Fields in org.apache.pdfbox.pdmodel.graphics.form declared as PDColorSpace Modifier and Type Field Description private PDColorSpacePDTransparencyGroupAttributes. colorSpaceMethods in org.apache.pdfbox.pdmodel.graphics.form that return PDColorSpace Modifier and Type Method Description PDColorSpacePDTransparencyGroupAttributes. getColorSpace()Returns the group color space or null if it isn't defined.PDColorSpacePDTransparencyGroupAttributes. getColorSpace(PDResources resources)Returns the group color space or null if it isn't defined. -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.image
Fields in org.apache.pdfbox.pdmodel.graphics.image declared as PDColorSpace Modifier and Type Field Description private PDColorSpacePDImageXObject. colorSpaceMethods in org.apache.pdfbox.pdmodel.graphics.image that return PDColorSpace Modifier and Type Method Description private PDColorSpacePDInlineImage. createColorSpace(COSBase cs)PDColorSpacePDImage. getColorSpace()Returns the image's color space.PDColorSpacePDImageXObject. getColorSpace()PDColorSpacePDInlineImage. getColorSpace()private static PDColorSpaceJPEGFactory. getColorSpaceFromAWT(java.awt.image.BufferedImage awtImage)Methods in org.apache.pdfbox.pdmodel.graphics.image with parameters of type PDColorSpace Modifier and Type Method Description private static COSDictionaryPNGConverter. buildDecodeParams(PNGConverter.PNGConverterState state, PDColorSpace colorSpace)private static COSStreamPNGConverter. createCOSStreamwithIccProfile(PDDocument document, PDColorSpace colorSpace, PNGConverter.PNGConverterState state)private static PDImageXObjectCCITTFactory. prepareImageXObject(PDDocument document, byte[] byteArray, int width, int height, PDColorSpace initColorSpace)(package private) static PDImageXObjectLosslessFactory. prepareImageXObject(PDDocument document, byte[] byteArray, int width, int height, int bitsPerComponent, PDColorSpace initColorSpace)Create a PDImageXObject using the Flate filter.voidPDImage. setColorSpace(PDColorSpace colorSpace)Sets the color space for this image.voidPDImageXObject. setColorSpace(PDColorSpace cs)voidPDInlineImage. setColorSpace(PDColorSpace colorSpace)Constructors in org.apache.pdfbox.pdmodel.graphics.image with parameters of type PDColorSpace Constructor Description PDImageXObject(PDDocument document, java.io.InputStream encodedStream, COSBase cosFilter, int width, int height, int bitsPerComponent, PDColorSpace initColorSpace)Creates an Image XObject in the given document using the given filtered stream. -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.shading
Fields in org.apache.pdfbox.pdmodel.graphics.shading declared as PDColorSpace Modifier and Type Field Description private PDColorSpacePDShading. colorSpaceprivate PDColorSpaceShadingContext. shadingColorSpaceMethods in org.apache.pdfbox.pdmodel.graphics.shading that return PDColorSpace Modifier and Type Method Description PDColorSpacePDShading. getColorSpace()This will get the color space or null if none exists.(package private) PDColorSpaceShadingContext. getShadingColorSpace()Methods in org.apache.pdfbox.pdmodel.graphics.shading with parameters of type PDColorSpace Modifier and Type Method Description voidPDShading. setColorSpace(PDColorSpace colorSpace)This will set the color space for the shading. -
Uses of PDColorSpace in org.apache.pdfbox.pdmodel.graphics.state
Fields in org.apache.pdfbox.pdmodel.graphics.state declared as PDColorSpace Modifier and Type Field Description private PDColorSpacePDGraphicsState. nonStrokingColorSpaceprivate PDColorSpacePDGraphicsState. strokingColorSpaceMethods in org.apache.pdfbox.pdmodel.graphics.state that return PDColorSpace Modifier and Type Method Description PDColorSpacePDGraphicsState. getNonStrokingColorSpace()Returns the non-stroking color space.PDColorSpacePDGraphicsState. getStrokingColorSpace()Returns the stroking color space.Methods in org.apache.pdfbox.pdmodel.graphics.state with parameters of type PDColorSpace Modifier and Type Method Description voidPDGraphicsState. setNonStrokingColorSpace(PDColorSpace colorSpace)Sets the non-stroking color space.voidPDGraphicsState. setStrokingColorSpace(PDColorSpace colorSpace)Sets the stroking color space. -
Uses of PDColorSpace in org.apache.pdfbox.preflight.content
Methods in org.apache.pdfbox.preflight.content that return PDColorSpace Modifier and Type Method Description private PDColorSpacePreflightStreamEngine. getColorSpace(java.lang.String operation)Methods in org.apache.pdfbox.preflight.content with parameters of type PDColorSpace Modifier and Type Method Description private ColorSpaceHelperPreflightStreamEngine. getColorSpaceHelper(PDColorSpace pdCS)private booleanPreflightStreamEngine. isDeviceIndependent(PDColorSpace cs, PreflightStreamEngine.ColorSpaceType expectedIccType)private booleanPreflightStreamEngine. validColorSpace(PDColorSpace colorSpace, PreflightStreamEngine.ColorSpaceType expectedIccType) -
Uses of PDColorSpace in org.apache.pdfbox.preflight.graphic
Fields in org.apache.pdfbox.preflight.graphic declared as PDColorSpace Modifier and Type Field Description protected PDColorSpaceStandardColorSpaceHelper. pdcsHigh level object which represents the colors space to check.Methods in org.apache.pdfbox.preflight.graphic with parameters of type PDColorSpace Modifier and Type Method Description ColorSpaceHelperColorSpaceHelperFactory. getColorSpaceHelper(PreflightContext context, PDColorSpace cs, ColorSpaceHelperFactory.ColorSpaceRestriction csr)Return an instance of ColorSpaceHelper according to the ColorSpaceRestriction value.protected voidStandardColorSpaceHelper. processAllColorSpace(PDColorSpace colorSpace)Method called by the validate method.protected voidStandardColorSpaceHelper. processCalibratedColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is a calibrated color (CalGray, CalRGB, Lab).protected voidStandardColorSpaceHelper. processCYMKColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is DeviceCYMK.protected booleanStandardColorSpaceHelper. processDefaultColorSpace(PDColorSpace colorSpace)Look up in the closest PDResources objects if there are a default ColorSpace.protected voidDeviceColorSpaceHelper. processDeviceNColorSpace(PDColorSpace colorSpace)This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.protected voidStandardColorSpaceHelper. processDeviceNColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is DeviceN.protected voidStandardColorSpaceHelper. processGrayColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is DeviceGray.protected voidStandardColorSpaceHelper. processICCBasedColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is a ICCBased color space.protected voidDeviceColorSpaceHelper. processIndexedColorSpace(PDColorSpace colorSpace)Indexed color space is authorized only if the BaseColorSpace is a DeviceXXX color space.protected voidStandardColorSpaceHelper. processIndexedColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is Indexed.protected voidDeviceColorSpaceHelper. processPatternColorSpace(PDColorSpace colorSpace)This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.protected voidNoPatternColorSpaceHelper. processPatternColorSpace(PDColorSpace colorSpace)This method updates the given list with a ValidationError (ERROR_GRAPHIC_INVALID_PATTERN_COLOR_SPACE_FORBIDDEN) and returns false.protected voidStandardColorSpaceHelper. processPatternColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is a Pattern.protected voidStandardColorSpaceHelper. processRGBColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is DeviceRGB.protected voidStandardColorSpaceHelper. processSeparationColorSpace(PDColorSpace colorSpace)Method called by the processAllColorSpace if the ColorSpace to check is Separation.private voidStandardColorSpaceHelper. validateICCProfileAlternateEntry(PDICCBased iccBased, PDColorSpace alternateColorSpace)Constructors in org.apache.pdfbox.preflight.graphic with parameters of type PDColorSpace Constructor Description DeviceColorSpaceHelper(PreflightContext _context, PDColorSpace _cs)NoPatternColorSpaceHelper(PreflightContext _context, PDColorSpace _cs)StandardColorSpaceHelper(PreflightContext _context, PDColorSpace _cs) -
Uses of PDColorSpace in org.apache.pdfbox.rendering
Fields in org.apache.pdfbox.rendering declared as PDColorSpace Modifier and Type Field Description private PDColorSpaceTilingPaintFactory.TilingPaintParameter. colorSpaceMethods in org.apache.pdfbox.rendering with parameters of type PDColorSpace Modifier and Type Method Description (package private) java.awt.PaintTilingPaintFactory. create(PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, java.awt.geom.AffineTransform xform)(package private) voidPageDrawer. drawTilingPattern(java.awt.Graphics2D g, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, Matrix patternMatrix)Draws the pattern stream to the requested context.private java.awt.image.BufferedImageTilingPaint. getImage(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, java.awt.geom.AffineTransform xform, java.awt.geom.Rectangle2D anchorRect)Returns the pattern image in parent stream coordinates.private booleanPageDrawer.TransparencyGroup. isGray(PDColorSpace colorSpace)Constructors in org.apache.pdfbox.rendering with parameters of type PDColorSpace Constructor Description TilingPaint(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, java.awt.geom.AffineTransform xform)Creates a new tiling Paint.TilingPaintParameter(Matrix matrix, COSDictionary patternDict, PDColorSpace colorSpace, PDColor color, java.awt.geom.AffineTransform xform)
-