@Deprecated public final class ColorantCMYK extends ColorantBase
Represents CMYK Colorant.
Modifier and Type | Field and Description |
---|---|
static float |
COLOR_VALUE_MAX
Deprecated.
Color max value in CMYK colorant.
|
static float |
COLOR_VALUE_MIN
Deprecated.
Color min value in CMYK colorant.
|
Constructor and Description |
---|
ColorantCMYK()
Deprecated.
Initializes a new instance of the
ColorantCMYK class. |
ColorantCMYK(float black,
float cyan,
float magenta,
float yellow)
Deprecated.
Initializes a new instance of the
ColorantCMYK class. |
Modifier and Type | Method and Description |
---|---|
float |
getBlack()
Deprecated.
Gets black value.
|
float |
getCyan()
Deprecated.
Gets cyan value.
|
float |
getMagenta()
Deprecated.
Gets magenta value.
|
String |
getXmpRepresentation()
Deprecated.
Gets the XMP representation.
|
float |
getYellow()
Deprecated.
Gets yellow value.
|
void |
setBlack(float value)
Deprecated.
Sets black value.
|
void |
setCyan(float value)
Deprecated.
Sets cyan value.
|
void |
setMagenta(float value)
Deprecated.
Sets magenta value.
|
void |
setYellow(float value)
Deprecated.
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 black value.
public final void setBlack(float value)
Sets black value.
value
- The black value.public final float getCyan()
Gets cyan value.
public final void setCyan(float value)
Sets cyan value.
value
- The cyan value.public final float getMagenta()
Gets magenta value.
public final void setMagenta(float value)
Sets magenta value.
value
- The magenta value.public final float getYellow()
Gets yellow value.
public final void setYellow(float value)
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 © 2020. All rights reserved.