Package | Description |
---|---|
com.sun.pdfview | |
com.sun.pdfview.colorspace | |
com.sun.pdfview.pattern |
Modifier and Type | Method and Description |
---|---|
protected PDFColorSpace |
PDFImage.getColorSpace()
Get the colorspace associated with this image, or null if there
isn't one
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDFImage.setColorSpace(PDFColorSpace colorSpace)
Set the colorspace associated with this image
|
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().
|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
PDFColorSpace |
PDFShader.getColorSpace()
Get the color space
|
Modifier and Type | Method and Description |
---|---|
protected void |
PDFShader.setColorSpace(PDFColorSpace colorSpace)
Set the color space
|