org.apache.fop.datatypes
Class ColorSpace

java.lang.Object
  |
  +--org.apache.fop.datatypes.ColorSpace

public class ColorSpace
extends java.lang.Object


Field Summary
protected  int currentColorSpace
           
static int DEVICE_CMYK
           
static int DEVICE_GRAY
           
static int DEVICE_RGB
           
static int DEVICE_UNKNOWN
           
 
Constructor Summary
ColorSpace(int theColorSpace)
           
 
Method Summary
 int getColorSpace()
           
 java.lang.String getColorSpacePDFString()
           
 byte[] getICCProfile()
           
 int getNumComponents()
           
 boolean hasICCProfile()
           
 void setColorSpace(int theColorSpace)
           
 void setICCProfile(byte[] iccProfile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVICE_UNKNOWN

public static final int DEVICE_UNKNOWN

DEVICE_GRAY

public static final int DEVICE_GRAY

DEVICE_RGB

public static final int DEVICE_RGB

DEVICE_CMYK

public static final int DEVICE_CMYK

currentColorSpace

protected int currentColorSpace
Constructor Detail

ColorSpace

public ColorSpace(int theColorSpace)
Method Detail

setColorSpace

public void setColorSpace(int theColorSpace)

hasICCProfile

public boolean hasICCProfile()

getICCProfile

public byte[] getICCProfile()

setICCProfile

public void setICCProfile(byte[] iccProfile)

getColorSpace

public int getColorSpace()

getNumComponents

public int getNumComponents()

getColorSpacePDFString

public java.lang.String getColorSpacePDFString()


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.