org.freehep.postscript.types
Class Pattern

java.lang.Object
  extended by java.awt.color.ColorSpace
      extended by org.freehep.postscript.types.Pattern
All Implemented Interfaces:
Serializable

public class Pattern
extends ColorSpace

Pattern colorspace.

Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.color.ColorSpace
CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC, CS_sRGB, TYPE_2CLR, TYPE_3CLR, TYPE_4CLR, TYPE_5CLR, TYPE_6CLR, TYPE_7CLR, TYPE_8CLR, TYPE_9CLR, TYPE_ACLR, TYPE_BCLR, TYPE_CCLR, TYPE_CMY, TYPE_CMYK, TYPE_DCLR, TYPE_ECLR, TYPE_FCLR, TYPE_GRAY, TYPE_HLS, TYPE_HSV, TYPE_Lab, TYPE_Luv, TYPE_RGB, TYPE_XYZ, TYPE_YCbCr, TYPE_Yxy
 
Constructor Summary
Pattern(ColorSpace colorSpace)
           
 
Method Summary
 float[] fromCIEXYZ(float[] colorvalue)
           
 float[] fromRGB(float[] rgbvalue)
           
 String getName(int index)
           
 int getNumComponents()
           
 int getType()
           
 boolean isCS_sRGB()
           
 float[] toCIEXYZ(float[] colorvalue)
           
 float[] toRGB(float[] colorvalue)
           
 
Methods inherited from class java.awt.color.ColorSpace
getInstance, getMaxValue, getMinValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pattern

public Pattern(ColorSpace colorSpace)
Method Detail

fromCIEXYZ

public final float[] fromCIEXYZ(float[] colorvalue)
Specified by:
fromCIEXYZ in class ColorSpace

fromRGB

public final float[] fromRGB(float[] rgbvalue)
Specified by:
fromRGB in class ColorSpace

toCIEXYZ

public final float[] toCIEXYZ(float[] colorvalue)
Specified by:
toCIEXYZ in class ColorSpace

toRGB

public final float[] toRGB(float[] colorvalue)
Specified by:
toRGB in class ColorSpace

getName

public final String getName(int index)
Overrides:
getName in class ColorSpace

getNumComponents

public final int getNumComponents()
Overrides:
getNumComponents in class ColorSpace

getType

public final int getType()
Overrides:
getType in class ColorSpace

isCS_sRGB

public final boolean isCS_sRGB()
Overrides:
isCS_sRGB in class ColorSpace


Copyright © 2001-2009 FreeHEP. All Rights Reserved.