ColorantCmyk
Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase, com.aspose.imaging.xmp.types.complex.colorant.ColorantBase
public final class ColorantCmyk extends ColorantBase
Represents CMYK Colorant.
Constructors
Constructor | Description |
---|---|
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
Field | Description |
---|---|
COLOR_VALUE_MAX | Color max value in CMYK colorant. |
COLOR_VALUE_MIN | Color min value in CMYK colorant. |
Methods
Method | Description |
---|---|
getBlack() | Gets or sets the black component value. |
setBlack(float value) | Gets or sets the black component value. |
getCyan() | Gets or sets the cyan component value. |
setCyan(float value) | Gets or sets the cyan component value. |
getMagenta() | Gets or sets the magenta component value. |
setMagenta(float value) | Gets or sets the magenta component value. |
getYellow() | Gets or sets the yellow component value. |
setYellow(float value) | Gets or sets the yellow component value. |
getXmpRepresentation() | Gets the string contained value in XMP format. |
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:
Parameter | Type | Description |
---|---|---|
black | float | The black component value. |
cyan | float | The cyan color component value. |
magenta | float | The magenta component value. |
yellow | float | The yellow component value. |
COLOR_VALUE_MAX
public static final float COLOR_VALUE_MAX
Color max value in CMYK colorant.
COLOR_VALUE_MIN
public static final float COLOR_VALUE_MIN
Color min value in CMYK colorant.
getBlack()
public float getBlack()
Gets or sets the black component value.
Value: The black component value.
Returns: float
setBlack(float value)
public void setBlack(float value)
Gets or sets the black component value.
Value: The black component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getCyan()
public float getCyan()
Gets or sets the cyan component value.
Value: The cyan component value.
Returns: float
setCyan(float value)
public void setCyan(float value)
Gets or sets the cyan component value.
Value: The cyan component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getMagenta()
public float getMagenta()
Gets or sets the magenta component value.
Value: The magenta component value.
Returns: float
setMagenta(float value)
public void setMagenta(float value)
Gets or sets the magenta component value.
Value: The magenta component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getYellow()
public float getYellow()
Gets or sets the yellow component value.
Value: The yellow component value.
Returns: float
setYellow(float value)
public void setYellow(float value)
Gets or sets the yellow component value.
Value: The yellow component value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float |
getXmpRepresentation()
public String getXmpRepresentation()
Gets the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.