de.intarsys.pdf.platform.cwt.color.swt
Class SwtCSDeviceRGB
java.lang.Object
de.intarsys.pdf.platform.cwt.color.swt.SwtColorSpace
de.intarsys.pdf.platform.cwt.color.swt.SwtCSDevice
de.intarsys.pdf.platform.cwt.color.swt.SwtCSDeviceRGB
public class SwtCSDeviceRGB
- extends SwtCSDevice
Constructor Summary |
SwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
|
Method Summary |
int |
getNumComponents()
|
org.eclipse.swt.graphics.PaletteData |
getPalette(de.intarsys.pdf.pd.PDImage pdImage)
return a corresponding swt palette for the image |
SwtCSDeviceRGB
public SwtCSDeviceRGB(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
getNumComponents
public int getNumComponents()
- Specified by:
getNumComponents
in class SwtColorSpace
getPalette
public org.eclipse.swt.graphics.PaletteData getPalette(de.intarsys.pdf.pd.PDImage pdImage)
- Description copied from class:
SwtColorSpace
- return a corresponding swt palette for the image
- Specified by:
getPalette
in class SwtColorSpace
- Parameters:
pdImage
- the image
- Returns:
- a corresponding swt palette
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.