public class XmpColorantBase extends XmpComplexType
A structure containing the characteristics of a colorant (swatch) used in a document.
Modifier and Type | Method and Description |
---|---|
Integer |
getColorType()
Gets the type of color.
|
int |
getMode()
Gets the colour space in which the colour is defined.
|
String |
getSwatchName()
Gets the name of the swatch.
|
void |
setColorType(Integer 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, iterator, removeProperties, sanitize, setProperties, updateProperties
public final int 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 Integer getColorType()
Gets the type of color.
public final void setColorType(Integer value)
Sets the type of color.
value
- The color type.