ColorantBase
Inheritance: java.lang.Object, com.aspose.imaging.xmp.types.XmpTypeBase, com.aspose.imaging.xmp.types.complex.ComplexTypeBase
public abstract class ColorantBase extends ComplexTypeBase
Represents XMP Colorant type.
Methods
Method | Description |
---|---|
getMode() | Gets ColorMode . |
getSwatchName() | Gets or sets the name of the swatch. |
setSwatchName(String value) | Gets or sets the name of the swatch. |
getColorType() | Gets or sets the type of the color. |
setColorType(int value) | Gets or sets the type of the color. |
getXmpRepresentation() | Gets the string contained value in XMP format. |
getMode()
public int getMode()
Gets ColorMode
.
Value: The color mode.
Returns: int
getSwatchName()
public String getSwatchName()
Gets or sets the name of the swatch.
Value: The name of the swatch.
Returns: java.lang.String
setSwatchName(String value)
public void setSwatchName(String value)
Gets or sets the name of the swatch.
Value: The name of the swatch.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getColorType()
public int getColorType()
Gets or sets the type of the color.
Value: The type of the color.
Returns: int
setColorType(int value)
public void setColorType(int value)
Gets or sets the type of the color.
Value: The type of the color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getXmpRepresentation()
public String getXmpRepresentation()
Gets the string contained value in XMP format.
Returns: java.lang.String - Returns the string contained value in XMP format.