public class XmpColorantBase extends XmpComplexType
A structure containing the characteristics of a colorant (swatch) used in a document.
Modifier and Type | Method and Description |
---|---|
XmpColorType |
getColorType()
Gets the type of color.
|
XmpColorantColorMode |
getMode()
Gets the colour space in which the colour is defined.
|
String |
getSwatchName()
Gets the name of the swatch.
|
void |
setColorType(XmpColorType value)
Sets the type of color.
|
void |
setSwatchName(String value)
Sets the name of the swatch.
|
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 final XmpColorantColorMode getMode()
Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB.
public final String getSwatchName()
Gets the name of the swatch.
public final void setSwatchName(String value)
Sets the name of the swatch.
value
- The name of the swatch.public final XmpColorType getColorType()
Gets the type of color.
public final void setColorType(XmpColorType value)
Sets the type of color.
value
- The color type.