|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaspose.pdf.CmykColorSpace
public class CmykColorSpace
Represents the CMYK colorspace.
Remarks: Note that you can use the
Typical usages are the following:
| Constructor Summary | |
|---|---|
CmykColorSpace()
Constructor - initializes a new instance of the CmykColorSpace class. |
|
CmykColorSpace(short c,
short m,
short y,
short k)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
short |
getC()
Gets a byte value (0-255) that indicates the cyan component of the CMYK colorspace. |
short |
getK()
Gets a byte value (0-255) that indicates the black component of the CMYK colorspace. |
short |
getM()
a short value (0-255) that indicates the magenta component of the CMYK colorspace. |
short |
getY()
Gets a short value (0-255) that indicates the yellow component of the CMYK colorspace. |
void |
setC(short value)
Sets a short value (0-255) that indicates the cyan component of the CMYK colorspace. if the value greater than 255, use 255 instead, if the value less than 0, use (value + 256) instead. |
void |
setK(short value)
Sets a short value (0-255) that indicates the yellow component of the CMYK colorspace. |
void |
setM(short value)
Sets a short value (0-255) that indicates the magenta component of the CMYK colorspace. if the value greater than 255, use 255 instead, if the value less than 0, use (value + 256) instead. |
void |
setY(short value)
Sets a short value (0-255) that indicates the yellow component of the CMYK colorspace. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmykColorSpace()
CmykColorSpace class.
public CmykColorSpace(short c,
short m,
short y,
short k)
| Method Detail |
|---|
public java.lang.Object clone()
clone in class java.lang.Objectpublic short getC()
public void setC(short value)
value - A short value.public short getM()
public void setM(short value)
value - A short value.public short getY()
public void setY(short value)
value - A short value.public short getK()
public void setK(short value)
value - A short value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||