de.intarsys.pdf.platform.cwt.color.awt
Class AwtCSDeviceRGB
java.lang.Object
de.intarsys.pdf.platform.cwt.color.awt.AwtColorSpace
de.intarsys.pdf.platform.cwt.color.awt.AwtCSDevice
de.intarsys.pdf.platform.cwt.color.awt.AwtCSDeviceRGB
public class AwtCSDeviceRGB
- extends AwtCSDevice
Constructor Summary |
AwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
|
AwtCSDeviceRGB
public AwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
getColorModel
public ColorModel getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
- Description copied from class:
AwtColorSpace
- return a corresponding java color model
- Overrides:
getColorModel
in class AwtCSDevice
- Returns:
- a corresponding java color model
getNumComponents
public int getNumComponents()
- Overrides:
getNumComponents
in class AwtColorSpace
getRGB
public float[] getRGB(float[] values)
- Description copied from class:
AwtColorSpace
- The color values to be used in the RGB color space.
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).
- Overrides:
getRGB
in class AwtColorSpace
- Parameters:
values
- The color values in this color space.
- Returns:
- The color values in RGB color space.
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.