public abstract class AwtColorSpace extends Object
| Modifier and Type | Field and Description |
|---|---|
static ColorSpace |
FALLBACK |
| Constructor and Description |
|---|
AwtColorSpace(de.intarsys.pdf.pd.PDColorSpace pdColorSpace) |
| Modifier and Type | Method and Description |
|---|---|
abstract ColorModel |
getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
return a corresponding java color model
|
ColorSpace |
getColorSpace()
return a java awt equivalent of this color space
|
int |
getNumComponents() |
de.intarsys.pdf.pd.PDColorSpace |
getPDColorSpace() |
float[] |
getRGB(float[] values)
The color values to be used in the RGB color space.
|
public static final ColorSpace FALLBACK
public abstract ColorModel getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
public final ColorSpace getColorSpace()
public int getNumComponents()
public de.intarsys.pdf.pd.PDColorSpace getPDColorSpace()
public float[] getRGB(float[] values)
This MAY be different from using the AWT color space to convert the values, as an AWT color space may not exist (for example with Separation color space).
values - The color values in this color space.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.