|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaspose.pdf.GrayColorSpace
public class GrayColorSpace
Encapsulates the Gray colorspace.
Remarks: Note that you can use the Color.Color(short) constructor to create
a color object with gray colorspace and need not use this class directly.
Typical usages are the following:
| Constructor Summary | |
|---|---|
GrayColorSpace()
|
|
GrayColorSpace(short grayVal)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
short |
getGrayValue()
Gets a short value(0-255) that indicates the gray scale. |
void |
setGrayValue(short grayVal)
Sets a short value(0-255) that indicates the gray scale. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GrayColorSpace()
public GrayColorSpace(short grayVal)
| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectpublic short getGrayValue()
public void setGrayValue(short grayVal)
grayVal - value(0-255)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||