public final class XmpColorantCmyk extends XmpColorantBase
Represents the CMYK Colorant.
Modifier and Type | Field and Description |
---|---|
static double |
ColorValueMax
Color max value in CMYK colorant.
|
static double |
ColorValueMin
Color min value in CMYK colorant.
|
Constructor and 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. |
Modifier and Type | Method and Description |
---|---|
Double |
getBlack()
Gets the black component.
|
Double |
getCyan()
Gets the cyan component.
|
Double |
getMagenta()
Gets the magenta component.
|
Double |
getYellow()
Gets the yellow component.
|
void |
setBlack(Double value)
Sets the black component.
|
void |
setCyan(Double value)
Sets the cyan component.
|
void |
setMagenta(Double value)
Sets the magenta component.
|
void |
setYellow(Double value)
Sets the yellow component.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchName
getNamespaceUri, getNamespaceUris, getPrefixes, getXmpRepresentation, toString
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final double ColorValueMax
Color max value in CMYK colorant.
public static final double ColorValueMin
Color min value in CMYK colorant.
public XmpColorantCmyk()
Initializes a new instance of the XmpColorantCmyk
class.
public XmpColorantCmyk(double cyan, double magenta, double yellow, double black)
Initializes a new instance of the XmpColorantCmyk
class.
cyan
- Cyan component.magenta
- Magenta component.yellow
- Yellow component.black
- Black component.public final Double getBlack()
Gets the black component.
public final void setBlack(Double value)
Sets the black component.
value
- The black value.public final Double getCyan()
Gets the cyan component.
public final void setCyan(Double value)
Sets the cyan component.
value
- The cyan value.public final Double getMagenta()
Gets the magenta component.
public final void setMagenta(Double value)
Sets the magenta component.
value
- The magenta value.public final Double getYellow()
Gets the yellow component.
public final void setYellow(Double value)
Sets the yellow component.
value
- The yellow value.