jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.color.awt
Class AwtCSPattern

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.color.awt.AwtColorSpace
      extended by de.intarsys.pdf.platform.cwt.color.awt.AwtCSSpecial
          extended by de.intarsys.pdf.platform.cwt.color.awt.AwtCSPattern

public class AwtCSPattern
extends AwtCSSpecial


Field Summary
 
Fields inherited from class de.intarsys.pdf.platform.cwt.color.awt.AwtColorSpace
FALLBACK
 
Constructor Summary
AwtCSPattern(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
           
 
Method Summary
 ColorModel getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
          return a corresponding java color model
 float[] getRGB(float[] values)
          The color values to be used in the RGB color space.
 
Methods inherited from class de.intarsys.pdf.platform.cwt.color.awt.AwtColorSpace
getColorSpace, getNumComponents, getPDColorSpace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AwtCSPattern

public AwtCSPattern(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
Method Detail

getColorModel

public ColorModel getColorModel(de.intarsys.pdf.pd.PDImage pdImage)
Description copied from class: AwtColorSpace
return a corresponding java color model

Specified by:
getColorModel in class AwtColorSpace
Returns:
a corresponding java color model

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.

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.