CMYK

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.lang.Struct

public class CMYK extends Struct<CMYK>

Constructors

Constructor Description
CMYK()
CMYK(int c, int m, int y, int k) Initializes a new instance of the CMYK struct from CMYK values.
CMYK(int r, int g, int b) Initializes a new instance of the CMYK struct from RGB values.
CMYK(System.Drawing.Color color) Initializes a new instance of the CMYK struct from Color struct.

Methods

Method Description
Clone()
CloneTo(T arg0)
CloneTo(CMYK that)
clone()
equals(CMYK obj1, CMYK obj2)
equals(Object obj)
getC()
getClass()
getK()
getM()
getY()
hashCode()
notify()
notifyAll()
setC(byte value)
setK(byte value)
setM(byte value)
setY(byte value)
toRgb() Converts to RGB color.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

CMYK()

public CMYK()

CMYK(int c, int m, int y, int k)

public CMYK(int c, int m, int y, int k)

Initializes a new instance of the CMYK struct from CMYK values.

Parameters:

Parameter Type Description
c int Cyan value.
m int Magenta value.
y int Yellow value.
k int Black value.

CMYK(int r, int g, int b)

public CMYK(int r, int g, int b)

Initializes a new instance of the CMYK struct from RGB values.

Parameters:

Parameter Type Description
r int Red value.
g int Green value.
b int Blue value.

CMYK(System.Drawing.Color color)

public CMYK(System.Drawing.Color color)

Initializes a new instance of the CMYK struct from Color struct.

Parameters:

Parameter Type Description
color com.aspose.ms.System.Drawing.Color Color value.

Clone()

public CMYK Clone()

Returns: CMYK

CloneTo(T arg0)

public abstract void CloneTo(T arg0)

Parameters:

Parameter Type Description
arg0 T

CloneTo(CMYK that)

public void CloneTo(CMYK that)

Parameters:

Parameter Type Description
that CMYK

clone()

public Object clone()

Returns: java.lang.Object

equals(CMYK obj1, CMYK obj2)

public static boolean equals(CMYK obj1, CMYK obj2)

Parameters:

Parameter Type Description
obj1 CMYK
obj2 CMYK

Returns: boolean

equals(Object obj)

public boolean equals(Object obj)

Parameters:

Parameter Type Description
obj java.lang.Object

Returns: boolean

getC()

public byte getC()

Returns: byte

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getK()

public byte getK()

Returns: byte

getM()

public byte getM()

Returns: byte

getY()

public byte getY()

Returns: byte

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setC(byte value)

public void setC(byte value)

Parameters:

Parameter Type Description
value byte

setK(byte value)

public void setK(byte value)

Parameters:

Parameter Type Description
value byte

setM(byte value)

public void setM(byte value)

Parameters:

Parameter Type Description
value byte

setY(byte value)

public void setY(byte value)

Parameters:

Parameter Type Description
value byte

toRgb()

public System.Drawing.Color toRgb()

Converts to RGB color.

Returns: com.aspose.ms.System.Drawing.Color -

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int