XmpColorantBase
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage, com.groupdocs.metadata.core.XmpMetadataContainer, com.groupdocs.metadata.core.XmpComplexType
public class XmpColorantBase extends XmpComplexType
A structure containing the characteristics of a colorant (swatch) used in a document.
| Method | Description |
|---|---|
| getMode() | Gets the colour space in which the colour is defined. |
| getSwatchName() | Gets the name of the swatch. |
| setSwatchName(String value) | Sets the name of the swatch. |
| getColorType() | Gets the type of color. |
| setColorType(XmpColorType value) | Sets the type of color. |
public final XmpColorantColorMode getMode()
Gets the colour space in which the colour is defined. One of: CMYK, RGB, LAB.
Returns: XmpColorantColorMode - The color mode.
public final String getSwatchName()
Gets the name of the swatch.
Returns: java.lang.String - The name of the swatch.
public final void setSwatchName(String value)
Sets the name of the swatch.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The name of the swatch. |
public final XmpColorType getColorType()
Gets the type of color.
Returns: XmpColorType - The color type.
public final void setColorType(XmpColorType value)
Sets the type of color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | XmpColorType | The color type. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.