public final class ColorantCMYK extends ColorantBase
Represents CMYK Colorant.
Modifier and Type | Field and Description |
---|---|
static float |
COLOR_VALUE_MAX
Color max value in CMYK colorant.
|
static float |
COLOR_VALUE_MIN
Color min value in CMYK colorant.
|
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
float |
getBlack()
Gets or sets black value.
|
float |
getCyan()
Gets or sets cyan value.
|
float |
getMagenta()
Gets or sets magenta value.
|
String |
getXmpRepresentation()
Gets the XMP representation.
|
float |
getYellow()
Gets or sets yellow value.
|
void |
setBlack(float value)
Gets or sets black value.
|
void |
setCyan(float value)
Gets or sets cyan value.
|
void |
setMagenta(float value)
Gets or sets magenta value.
|
void |
setYellow(float value)
Gets or sets yellow value.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchName
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public static final float COLOR_VALUE_MAX
Color max value in CMYK colorant.
public static final float COLOR_VALUE_MIN
Color min value in CMYK colorant.
public ColorantCMYK()
Initializes a new instance of the ColorantCMYK
class.
public ColorantCMYK(float black, float cyan, float magenta, float yellow)
Initializes a new instance of the ColorantCMYK
class.
black
- Black component.cyan
- Cyan component.magenta
- Magenta component.yellow
- Yellow component.public final float getBlack()
Gets or sets black value.
Value: The black value.public final void setBlack(float value)
Gets or sets black value.
Value: The black value.public final float getCyan()
Gets or sets cyan value.
Value: The cyan value.public final void setCyan(float value)
Gets or sets cyan value.
Value: The cyan value.public final float getMagenta()
Gets or sets magenta value.
Value: The magenta value.public final void setMagenta(float value)
Gets or sets magenta value.
Value: The magenta value.public final float getYellow()
Gets or sets yellow value.
Value: The yellow value.public final void setYellow(float value)
Gets or sets yellow value.
Value: The yellow value.public String getXmpRepresentation()
Gets the XMP representation.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ColorantBase
string
contained XMP representation.Copyright © 2017. All rights reserved.