## Uses of Class
com.sun.pdfview.colorspace.PDFColorSpace

Packages that use PDFColorSpace
Package | Description
--- | ---
com.sun.pdfview |
com.sun.pdfview.colorspace |
com.sun.pdfview.pattern |

### Uses of PDFColorSpace in com.sun.pdfview

Methods in com.sun.pdfview that return PDFColorSpace
Modifier and Type | Method and Description
--- | ---
`protected PDFColorSpace` | PDFImage.`getColorSpace()` Get the colorspace associated with this image, or null if there isn't one

Methods in com.sun.pdfview with parameters of type PDFColorSpace
Modifier and Type | Method and Description
--- | ---
`protected void` | PDFImage.`setColorSpace(PDFColorSpace colorSpace)` Set the colorspace associated with this image

### Uses of PDFColorSpace in com.sun.pdfview.colorspace

Subclasses of PDFColorSpace in com.sun.pdfview.colorspace
Modifier and Type | Class and Description
--- | ---
`class` | `AlternateColorSpace` A color space that uses another color space to return values, and a function to map between values in the input and input values to the alternate color space
`class` | `IndexedColor` A PDFColorSpace for an IndexedColor model
`class` | `PatternSpace` A PatternSpace fills with a pattern, the name of which is specified in the call to getPaint().

Methods in com.sun.pdfview.colorspace that return PDFColorSpace
Modifier and Type | Method and Description
--- | ---
`PDFColorSpace` | PatternSpace.`getBase()` Get the base color space
`static PDFColorSpace` | PDFColorSpace.`getColorSpace(int name)` Get a color space by name
`static PDFColorSpace` | PDFColorSpace.`getColorSpace(PDFObject csobj, java.util.Map resources)` Get a color space specified in a PDFObject

Constructors in com.sun.pdfview.colorspace with parameters of type PDFColorSpace
Constructor and Description
`AlternateColorSpace(PDFColorSpace alternate, PDFFunction function)` Creates a new instance of AlternateColorSpace
`IndexedColor(PDFColorSpace base, int count, PDFObject stream)` create a new IndexColor PDFColorSpace based on another PDFColorSpace, a count of colors, and a stream of values.
`PatternSpace(PDFColorSpace base)` Create a pattern space with the given color space as a base

### Uses of PDFColorSpace in com.sun.pdfview.pattern

Methods in com.sun.pdfview.pattern that return PDFColorSpace
Modifier and Type | Method and Description
--- | ---
`PDFColorSpace` | PDFShader.`getColorSpace()` Get the color space

Methods in com.sun.pdfview.pattern with parameters of type PDFColorSpace
Modifier and Type | Method and Description
--- | ---
`protected void` | PDFShader.`setColorSpace(PDFColorSpace colorSpace)` Set the color space