public class AwtCSDeviceRGB extends AwtCSDevice
FALLBACK| Constructor and Description |
|---|
AwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace) |
| Modifier and Type | Method and Description |
|---|---|
ColorModel |
getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
return a corresponding java color model
|
int |
getNumComponents() |
float[] |
getRGB(float[] values)
The color values to be used in the RGB color space.
|
getColorSpace, getPDColorSpacepublic AwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
public ColorModel getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
AwtColorSpacegetColorModel in class AwtCSDevicepublic int getNumComponents()
getNumComponents in class AwtColorSpacepublic float[] getRGB(float[] values)
AwtColorSpaceThis 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).
getRGB in class AwtColorSpacevalues - The color values in this color space.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.