XmpColorantCmyk

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType, com.groupdocs.metadata.core.XmpColorantBase

public final class XmpColorantCmyk extends XmpColorantBase

Represents the CMYK Colorant.

Constructors

Constructor Description
XmpColorantCmyk() Initializes a new instance of the XmpColorantCmyk class.
XmpColorantCmyk(double cyan, double magenta, double yellow, double black) Initializes a new instance of the XmpColorantCmyk class.

Fields

Field Description
ColorValueMax Color max value in CMYK colorant.
ColorValueMin Color min value in CMYK colorant.

Methods

Method Description
getBlack() Gets the black component.
setBlack(Double value) Sets the black component.
getCyan() Gets the cyan component.
setCyan(Double value) Sets the cyan component.
getMagenta() Gets the magenta component.
setMagenta(Double value) Sets the magenta component.
getYellow() Gets the yellow component.
setYellow(Double value) Sets the yellow component.

XmpColorantCmyk()

public XmpColorantCmyk()

Initializes a new instance of the XmpColorantCmyk class.

XmpColorantCmyk(double cyan, double magenta, double yellow, double black)

public XmpColorantCmyk(double cyan, double magenta, double yellow, double black)

Initializes a new instance of the XmpColorantCmyk class.

Parameters:

Parameter Type Description
cyan double Cyan component.
magenta double Magenta component.
yellow double Yellow component.
black double Black component.

ColorValueMax

public static final double ColorValueMax

Color max value in CMYK colorant.

ColorValueMin

public static final double ColorValueMin

Color min value in CMYK colorant.

getBlack()

public final Double getBlack()

Gets the black component.

Returns: java.lang.Double - The black value.

setBlack(Double value)

public final void setBlack(Double value)

Sets the black component.

Parameters:

Parameter Type Description
value java.lang.Double The black value.

getCyan()

public final Double getCyan()

Gets the cyan component.

Returns: java.lang.Double - The cyan value.

setCyan(Double value)

public final void setCyan(Double value)

Sets the cyan component.

Parameters:

Parameter Type Description
value java.lang.Double The cyan value.

getMagenta()

public final Double getMagenta()

Gets the magenta component.

Returns: java.lang.Double - The magenta value.

setMagenta(Double value)

public final void setMagenta(Double value)

Sets the magenta component.

Parameters:

Parameter Type Description
value java.lang.Double The magenta value.

getYellow()

public final Double getYellow()

Gets the yellow component.

Returns: java.lang.Double - The yellow value.

setYellow(Double value)

public final void setYellow(Double value)

Sets the yellow component.

Parameters:

Parameter Type Description
value java.lang.Double The yellow value.