Uses of Class
org.sejda.sambox.pdmodel.graphics.color.PDColorSpace
Packages that use PDColorSpace
Package
Description
-
Uses of PDColorSpace in org.sejda.sambox.contentstream
Methods in org.sejda.sambox.contentstream with parameters of type PDColorSpaceModifier and TypeMethodDescriptionprotected final voidPDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace) Process the given tiling pattern.protected final voidPDFStreamEngine.processTilingPattern(PDTilingPattern tilingPattern, PDColor color, PDColorSpace colorSpace, Matrix patternMatrix) Process the given tiling pattern. -
Uses of PDColorSpace in org.sejda.sambox.contentstream.operator.color
Methods in org.sejda.sambox.contentstream.operator.color that return PDColorSpaceModifier and TypeMethodDescriptionabstract PDColorSpaceSetColor.getColorSpace()SetNonStrokingColor.getColorSpace()Returns the non-stroking color space.SetStrokingColor.getColorSpace()Returns the stroking color space. -
Uses of PDColorSpace in org.sejda.sambox.pdmodel
Fields in org.sejda.sambox.pdmodel with type parameters of type PDColorSpaceModifier and TypeFieldDescriptionprivate final Map<COSObjectKey,SoftReference<PDColorSpace>> DefaultResourceCache.colorSpacesprotected final Deque<PDColorSpace>PDAbstractContentStream.nonStrokingColorSpaceStackprivate final Stack<PDColorSpace>PDPageContentStream.nonStrokingColorSpaceStackprotected final Deque<PDColorSpace>PDAbstractContentStream.strokingColorSpaceStackprivate final Stack<PDColorSpace>PDPageContentStream.strokingColorSpaceStackMethods in org.sejda.sambox.pdmodel that return PDColorSpaceModifier and TypeMethodDescriptionDefaultResourceCache.getColorSpace(COSObjectKey key) PDResources.getColorSpace(COSName name) Returns the color space resource with the given name, or null if none exists.PDResources.getColorSpace(COSName name, boolean wasDefault) Returns the color space resource with the given name, or null if none exists.ResourceCache.getColorSpace(COSObjectKey key) Returns the color space resource for the given key object, if it is in the cache.Methods in org.sejda.sambox.pdmodel with parameters of type PDColorSpaceModifier and TypeMethodDescriptionPDResources.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) private COSNamePDPageContentStream.getName(PDColorSpace colorSpace) voidDefaultResourceCache.put(COSObjectKey key, PDColorSpace colorSpace) voidPDResources.put(COSName name, PDColorSpace colorSpace) Sets the color space resource with the given name.voidResourceCache.put(COSObjectKey key, PDColorSpace colorSpace) Puts the given key color space resource in the cache.protected voidPDAbstractContentStream.setNonStrokingColorSpaceStack(PDColorSpace colorSpace) private voidPDPageContentStream.setNonStrokingColorSpaceStack(PDColorSpace colorSpace) protected voidPDAbstractContentStream.setStrokingColorSpaceStack(PDColorSpace colorSpace) private voidPDPageContentStream.setStrokingColorSpaceStack(PDColorSpace colorSpace) -
Uses of PDColorSpace in org.sejda.sambox.pdmodel.graphics.color
Subclasses of PDColorSpace in org.sejda.sambox.pdmodel.graphics.colorModifier and TypeClassDescriptionfinal classA CalGray colour space is a special case of a single-component CIE-based colour space.classA CalRGB colour space is a CIE-based colour space with one transformation stage instead of two.classCIE-based colour spaces specify colours in a way that is independent of the characteristics of any particular output device.classCIE-based colour spaces that use a dictionary.classAllows colors to be specified according to the subtractive CMYK (cyan, magenta, yellow, black) model typical of printers and other paper-based output devices.classDevice colour spaces directly specify colours or shades of gray produced by an output device.final classA color space with black, white, and intermediate shades of gray.classDeviceN colour spaces may contain an arbitrary number of colour components.final classColours in the DeviceRGB colour space are specified according to the additive RGB (red-green-blue) colour model.final classICCBased colour spaces are based on a cross-platform colour profile as defined by the International Color Consortium (ICC).final classAn Indexed colour space specifies that an area is to be painted using a colour table of arbitrary colours from another color space.final classA color space embedded in a JPX file.final classA Lab colour space is a CIE-based ABC colour space with two transformation stages.final classA Pattern color space is either a Tiling pattern or a Shading pattern.classA 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.classSpecial colour spaces add features or properties to an underlying colour space.Fields in org.sejda.sambox.pdmodel.graphics.color declared as PDColorSpaceModifier and TypeFieldDescriptionprivate PDColorSpacePDDeviceN.alternateColorSpaceprivate PDColorSpacePDICCBased.alternateColorSpaceprivate PDColorSpacePDSeparation.alternateColorSpaceprivate PDColorSpacePDIndexed.baseColorSpaceprivate final PDColorSpacePDColor.colorSpaceprivate PDColorSpacePDDeviceN.processColorSpaceprivate PDColorSpacePDPattern.underlyingColorSpaceMethods in org.sejda.sambox.pdmodel.graphics.color that return PDColorSpaceModifier and TypeMethodDescriptionstatic PDColorSpaceCreates 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) private static PDColorSpacePDColorSpace.createUncached(COSBase colorSpace, PDResources resources, boolean wasDefault, int recursionAccumulator) Creates a color space given a name or array.PDDeviceN.getAlternateColorSpace()This will get the alternate color space for this separation.PDICCBased.getAlternateColorSpace()Returns a list of alternate color spaces for non-conforming readers.PDSeparation.getAlternateColorSpace()Returns the colorant name.PDIndexed.getBaseColorSpace()Returns the base color space.PDColor.getColorSpace()Returns the color space in which this color value is defined.PDDeviceNProcess.getColorSpace()Returns the process color spacePDPattern.getUnderlyingColorSpace()Returns the underlying color space, if this is an uncolored tiling pattern, otherwise null.Methods in org.sejda.sambox.pdmodel.graphics.color with parameters of type PDColorSpaceModifier and TypeMethodDescriptionstatic booleanPDColorSpace.isAllowedCache(PDColorSpace colorSpace) 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.sejda.sambox.pdmodel.graphics.color with type arguments of type PDColorSpaceModifier and TypeMethodDescriptionvoidPDICCBased.setAlternateColorSpaces(List<PDColorSpace> list) Sets the list of alternateColorSpace color spaces.voidPDDeviceNAttributes.setColorants(Map<String, PDColorSpace> colorants) Sets the colorant map.Constructors in org.sejda.sambox.pdmodel.graphics.color with parameters of type PDColorSpaceModifierConstructorDescriptionPDColor(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.sejda.sambox.pdmodel.graphics.form
Fields in org.sejda.sambox.pdmodel.graphics.form declared as PDColorSpaceMethods in org.sejda.sambox.pdmodel.graphics.form that return PDColorSpaceModifier and TypeMethodDescriptionPDTransparencyGroupAttributes.getColorSpace()PDTransparencyGroupAttributes.getColorSpace(PDResources resources) Returns the group color space or null if it isn't defined. -
Uses of PDColorSpace in org.sejda.sambox.pdmodel.graphics.image
Fields in org.sejda.sambox.pdmodel.graphics.image declared as PDColorSpaceMethods in org.sejda.sambox.pdmodel.graphics.image that return PDColorSpaceModifier and TypeMethodDescriptionprivate PDColorSpacePDInlineImage.createColorSpace(COSBase cs) PDImage.getColorSpace()Returns the image's color space.PDImageXObject.getColorSpace()PDInlineImage.getColorSpace()static PDColorSpaceJPEGFactory.getColorSpaceFromAWT(BufferedImage awtImage) Methods in org.sejda.sambox.pdmodel.graphics.image with parameters of type PDColorSpaceModifier and TypeMethodDescriptionprivate static PDImageXObjectCCITTFactory.prepareImageXObject(byte[] byteArray, int width, int height, PDColorSpace initColorSpace) (package private) static PDImageXObjectLosslessFactory.prepareImageXObject(byte[] byteArray, int width, int height, int bitsPerComponent, PDColorSpace initColorSpace) Create a PDImageXObject while making a decision whether not to compress, use Flate filter only, or Flate and LZW filters.voidPDImage.setColorSpace(PDColorSpace colorSpace) Sets the color space for this image.voidPDImageXObject.setColorSpace(PDColorSpace cs) voidPDInlineImage.setColorSpace(PDColorSpace colorSpace) Constructors in org.sejda.sambox.pdmodel.graphics.image with parameters of type PDColorSpaceModifierConstructorDescriptionPDImageXObject(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.sejda.sambox.pdmodel.graphics.shading
Fields in org.sejda.sambox.pdmodel.graphics.shading declared as PDColorSpaceModifier and TypeFieldDescriptionprivate PDColorSpacePDShading.colorSpaceprivate PDColorSpaceShadingContext.shadingColorSpaceMethods in org.sejda.sambox.pdmodel.graphics.shading that return PDColorSpaceModifier and TypeMethodDescriptionPDShading.getColorSpace()This will get the color space or null if none exists.(package private) PDColorSpaceShadingContext.getShadingColorSpace()Methods in org.sejda.sambox.pdmodel.graphics.shading with parameters of type PDColorSpaceModifier and TypeMethodDescriptionvoidPDShading.setColorSpace(PDColorSpace colorSpace) This will set the color space for the shading. -
Uses of PDColorSpace in org.sejda.sambox.pdmodel.graphics.state
Fields in org.sejda.sambox.pdmodel.graphics.state declared as PDColorSpaceModifier and TypeFieldDescriptionprivate PDColorSpacePDGraphicsState.nonStrokingColorSpaceprivate PDColorSpacePDGraphicsState.strokingColorSpaceMethods in org.sejda.sambox.pdmodel.graphics.state that return PDColorSpaceModifier and TypeMethodDescriptionPDGraphicsState.getNonStrokingColorSpace()Returns the non-stroking color space.PDGraphicsState.getStrokingColorSpace()Returns the stroking color space.Methods in org.sejda.sambox.pdmodel.graphics.state with parameters of type PDColorSpaceModifier and TypeMethodDescriptionvoidPDGraphicsState.setNonStrokingColorSpace(PDColorSpace colorSpace) Sets the the non-stroking color space.voidPDGraphicsState.setStrokingColorSpace(PDColorSpace colorSpace) Sets the the stroking color space. -
Uses of PDColorSpace in org.sejda.sambox.rendering
Fields in org.sejda.sambox.rendering declared as PDColorSpaceModifier and TypeFieldDescriptionprivate final PDColorSpaceTilingPaintFactory.TilingPaintParameter.colorSpaceMethods in org.sejda.sambox.rendering with parameters of type PDColorSpaceModifier and TypeMethodDescription(package private) PaintTilingPaintFactory.create(PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform) (package private) voidPageDrawer.drawTilingPattern(Graphics2D g, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, Matrix patternMatrix) Draws the pattern stream to the requested context.private BufferedImageTilingPaint.getImage(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform, Rectangle2D anchorRect) Returns the pattern image in parent stream coordinates.private booleanPageDrawer.TransparencyGroup.isGray(PDColorSpace colorSpace) Constructors in org.sejda.sambox.rendering with parameters of type PDColorSpaceModifierConstructorDescription(package private)TilingPaint(PageDrawer drawer, PDTilingPattern pattern, PDColorSpace colorSpace, PDColor color, AffineTransform xform) Creates a new tiling Paint.privateTilingPaintParameter(Matrix matrix, COSDictionary patternDict, PDColorSpace colorSpace, PDColor color, AffineTransform xform)