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, toStringaddProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic final XmpColorType getColorType()
Gets the type of color.
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 setColorType(XmpColorType value)
Sets the type of color.
value - The color type.public final void setSwatchName(String value)
Sets the name of the swatch.
value - The name of the swatch.Copyright © 2025. All rights reserved.