|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.foray.ps.PsObjectComposite
org.foray.ps.PsArray
org.foray.ps.PsColorSpace
public class PsColorSpace
A PostScript Color Space. Color Spaces are described at PSLRM 2nd Edition, Section 4.8.
Field Summary | |
---|---|
static int |
CIEBASED_A
Constant indicating a CIE-based 1-channel colorspace. |
static int |
CIEBASED_ABC
Constant indicating a CIE-based 3-channel colorspace. |
static int |
DEVICE_CMYK
Constant indicating a Device CMYK colorspace. |
static int |
DEVICE_GRAY
Constant indicating a Device Gray colorspace. |
static int |
DEVICE_RGB
Constant indicating a Device RGB colorspace. |
static int |
INDEXED
Constant indicating the special "indexed" colorspace. |
static int |
PATTERN
Constant indicating the special "pattern" colorspace. |
static int |
SEPARATION
Constant indicating the special "separation" colorspace. |
Constructor Summary | |
---|---|
PsColorSpace(Object[] value)
Standard constructor. |
Method Summary | |
---|---|
static PsColorSpace |
makeColorSpace(int type)
Factory method for creating new colorspace instances. |
Methods inherited from class org.foray.ps.PsArray |
---|
convertToMatrix, duplicate, get, getTypeName, isComparable, isComposite, isExecutable, set, setExecutable, size |
Methods inherited from class org.foray.ps.PsObjectComposite |
---|
getAccess, setAccess |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEVICE_GRAY
public static final int DEVICE_RGB
public static final int DEVICE_CMYK
public static final int CIEBASED_ABC
public static final int CIEBASED_A
public static final int PATTERN
public static final int INDEXED
public static final int SEPARATION
Constructor Detail |
---|
public PsColorSpace(Object[] value)
value
- The colorspace value.Method Detail |
---|
public static PsColorSpace makeColorSpace(int type)
type
- The type of colorspace that should be created, one of
DEVICE_GRAY
,
DEVICE_RGB
,
DEVICE_CMYK
,
CIEBASED_ABC
,
CIEBASED_A
,
PATTERN
,
INDEXED
, or
SEPARATION
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |