ColorantCmyk

Inheritance: java.lang.Object, com.aspose.psd.xmp.types.XmpTypeBase, com.aspose.psd.xmp.types.complex.ComplexTypeBase, com.aspose.psd.xmp.types.complex.colorant.ColorantBase

public final class ColorantCmyk extends ColorantBase

Represents CMYK Colorant.

Constructors

ConstructorDescription
ColorantCmyk()Initializes a new instance of the ColorantCmyk class.
ColorantCmyk(float black, float cyan, float magenta, float yellow)Initializes a new instance of the ColorantCmyk class.

Fields

FieldDescription
ColorValueMaxColor max value in CMYK colorant.
ColorValueMinColor min value in CMYK colorant.

Methods

MethodDescription
add(String key, Object value)Adds the specified key.
equals(Object arg0)
getBlack()Gets or sets the black component value.
getClass()
getColorType()Gets or sets the type of the color.
getCyan()Gets or sets the cyan component value.
getMagenta()Gets or sets the magenta component value.
getMode()Gets ColorMode .
getNamespaceUri()Gets the default namespace URI.
getPrefix()Gets the prefix.
getSwatchName()Gets or sets the name of the swatch.
getXmpRepresentation()Gets the string contained value in XMP format.
getYellow()Gets or sets the yellow component value.
hashCode()
notify()
notifyAll()
setBlack(float value)Gets or sets the black component value.
setColorType(int value)Gets or sets the type of the color.
setCyan(float value)Gets or sets the cyan component value.
setMagenta(float value)Gets or sets the magenta component value.
setSwatchName(String value)Gets or sets the name of the swatch.
setYellow(float value)Gets or sets the yellow component value.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

ColorantCmyk()

public ColorantCmyk()

Initializes a new instance of the ColorantCmyk class.

ColorantCmyk(float black, float cyan, float magenta, float yellow)

public ColorantCmyk(float black, float cyan, float magenta, float yellow)

Initializes a new instance of the ColorantCmyk class.

Parameters:

ParameterTypeDescription
blackfloatThe black component value.
cyanfloatThe cyan color component value.
magentafloatThe magenta component value.
yellowfloatThe yellow component value.

ColorValueMax

public static final float ColorValueMax

Color max value in CMYK colorant.

ColorValueMin

public static final float ColorValueMin

Color min value in CMYK colorant.

add(String key, Object value)

public void add(String key, Object value)

Adds the specified key.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.ObjectThe value to add to.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBlack()

public float getBlack()

Gets or sets the black component value.

Value: The black component value.

Returns: float

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColorType()

public int getColorType()

Gets or sets the type of the color.

Value: The type of the color.

Returns: int

getCyan()

public float getCyan()

Gets or sets the cyan component value.

Value: The cyan component value.

Returns: float

getMagenta()

public float getMagenta()

Gets or sets the magenta component value.

Value: The magenta component value.

Returns: float

getMode()

public int getMode()

Gets ColorMode .

Value: The color mode.

Returns: int

getNamespaceUri()

public String getNamespaceUri()

Gets the default namespace URI.

Returns: java.lang.String - The default namespace URI.

getPrefix()

public String getPrefix()

Gets the prefix.

Returns: java.lang.String - The prefix.

getSwatchName()

public String getSwatchName()

Gets or sets the name of the swatch.

Value: The name of the swatch.

Returns: java.lang.String

getXmpRepresentation()

public String getXmpRepresentation()

Gets the string contained value in XMP format.

Returns: java.lang.String - Returns the string contained value in XMP format.

getYellow()

public float getYellow()

Gets or sets the yellow component value.

Value: The yellow component value.

Returns: float

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBlack(float value)

public void setBlack(float value)

Gets or sets the black component value.

Value: The black component value.

Parameters:

ParameterTypeDescription
valuefloat

setColorType(int value)

public void setColorType(int value)

Gets or sets the type of the color.

Value: The type of the color.

Parameters:

ParameterTypeDescription
valueint

setCyan(float value)

public void setCyan(float value)

Gets or sets the cyan component value.

Value: The cyan component value.

Parameters:

ParameterTypeDescription
valuefloat

setMagenta(float value)

public void setMagenta(float value)

Gets or sets the magenta component value.

Value: The magenta component value.

Parameters:

ParameterTypeDescription
valuefloat

setSwatchName(String value)

public void setSwatchName(String value)

Gets or sets the name of the swatch.

Value: The name of the swatch.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setYellow(float value)

public void setYellow(float value)

Gets or sets the yellow component value.

Value: The yellow component value.

Parameters:

ParameterTypeDescription
valuefloat

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int