FreeHEP API
Version current

org.freehep.postscript
Class Pattern

java.lang.Object
  extended byjava.awt.color.ColorSpace
      extended byorg.freehep.postscript.Pattern
All Implemented Interfaces:
Serializable

public class Pattern
extends ColorSpace

Pattern colorspace.

Version:
$Id: Pattern.java,v 1.2 2001/07/12 14:23:34 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
Pattern.java

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 float[] fromCIEXYZ(float[] colorvalue)

fromRGB

public float[] fromRGB(float[] rgbvalue)

toCIEXYZ

public float[] toCIEXYZ(float[] colorvalue)

toRGB

public float[] toRGB(float[] colorvalue)

getName

public String getName(int index)

getNumComponents

public int getNumComponents()

getType

public int getType()

isCS_sRGB

public boolean isCS_sRGB()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.