de.intarsys.pdf.platform.cwt.color.swt
Class SwtColorSpace
java.lang.Object
de.intarsys.pdf.platform.cwt.color.swt.SwtColorSpace
- Direct Known Subclasses:
- SwtCSCIEBased, SwtCSDevice, SwtCSSpecial
public abstract class SwtColorSpace
- extends Object
Constructor Summary |
SwtColorSpace(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
|
Method Summary |
abstract int |
getNumComponents()
|
abstract org.eclipse.swt.graphics.PaletteData |
getPalette(de.intarsys.pdf.pd.PDImage pdImage)
return a corresponding swt palette for the image |
de.intarsys.pdf.pd.PDColorSpace |
getPDColorSpace()
|
SwtColorSpace
public SwtColorSpace(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
getNumComponents
public abstract int getNumComponents()
getPalette
public abstract org.eclipse.swt.graphics.PaletteData getPalette(de.intarsys.pdf.pd.PDImage pdImage)
- return a corresponding swt palette for the image
- Parameters:
pdImage
- the image
- Returns:
- a corresponding swt palette
getPDColorSpace
public de.intarsys.pdf.pd.PDColorSpace getPDColorSpace()
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.