|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.Color
com.aspose.pdf.elements.CmykColorSpace
Represents the CMYK colorspace.
Field Summary |
Fields inherited from class com.aspose.pdf.elements.Color |
Aqua, Black, Blue, Fuchsia, Gray, Green, Lime, Maroon, Navy, Olive, Purple, Red, Silver, Teal, White, Yellow |
Constructor Summary | |
CmykColorSpace(short C,
short M,
short Y,
short K)
Initializes an object of CmykColorSpace. |
Method Summary | |
java.lang.Object |
clone()
|
short |
getC()
Gets a value (0-255) that indicates the cyan component of the CMYK colorspace. |
short |
getK()
Gets a value (0-255) that indicates the black component of the CMYK colorspace. |
short |
getM()
Gets a value (0-255) that indicates the magenta component of the CMYK colorspace. |
short[] |
getRGBComponents()
Gets a color represented in rgb color space. |
java.lang.String |
getRGBComponentsAsString()
|
short |
getY()
Gets a value (0-255) that indicates the yellow component of the CMYK colorspace. |
void |
setC(short C)
Sets a value (0-255) that indicates the cyan component of the CMYK colorspace. |
void |
setK(short K)
Sets a value (0-255) that indicates the black component of the CMYK colorspace. |
void |
setM(short M)
Sets a value (0-255) that indicates the magenta component of the CMYK colorspace. |
void |
setY(short Y)
Sets a value (0-255) that indicates the yellow component of the CMYK colorspace. |
Methods inherited from class com.aspose.pdf.elements.Color |
equals |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmykColorSpace(short C, short M, short Y, short K)
[SampleCode] Segment seg3 = new Segment(text1,"This Text use cmyk colorspace. \n"); seg3.getTextInfo().setTextColor(new CmykColorSpace((short)30,(short)40,(short)255,(short)0)); text1.getSegments().add(seg3);
Method Detail |
public short getC()
public void setC(short C)
public short getK()
public void setK(short K)
public short getM()
public void setM(short M)
public short getY()
public void setY(short Y)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class Color
java.lang.CloneNotSupportedException
java.lang.Object#clone()
public short[] getRGBComponents()
Color
getRGBComponents
in class Color
Color.getRGBComponents()
public java.lang.String getRGBComponentsAsString()
com.aspose.pdf.elements.Color#getRGBComponentsAsString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |