de.intarsys.pdf.platform.cwt.color.swt
Class SwtCSPattern
java.lang.Object
de.intarsys.pdf.platform.cwt.color.swt.SwtColorSpace
de.intarsys.pdf.platform.cwt.color.swt.SwtCSSpecial
de.intarsys.pdf.platform.cwt.color.swt.SwtCSPattern
public class SwtCSPattern
- extends SwtCSSpecial
Constructor Summary |
SwtCSPattern(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 |
SwtCSPattern
public SwtCSPattern(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.