public final class XmpColorantRgb extends XmpColorantBase
Represents the RGB Colorant.
| Constructor and Description |
|---|
XmpColorantRgb()
Initializes a new instance of the
XmpColorantRgb class. |
XmpColorantRgb(int red,
int green,
int blue)
Initializes a new instance of the
XmpColorantRgb class. |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBlue()
Gets the blue component.
|
Integer |
getGreen()
Gets the green value.
|
Integer |
getRed()
Gets the red component.
|
void |
setBlue(Integer value)
Sets the blue component.
|
void |
setGreen(Integer value)
Sets the green value.
|
void |
setRed(Integer value)
Sets the red component.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchNamegetNamespaceUri, 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 XmpColorantRgb()
Initializes a new instance of the XmpColorantRgb class.
public XmpColorantRgb(int red,
int green,
int blue)
Initializes a new instance of the XmpColorantRgb class.
red - Red component.green - Green component.blue - Blue component.public final Integer getBlue()
Gets the blue component.
public final Integer getGreen()
Gets the green value.
public final Integer getRed()
Gets the red component.
public final void setBlue(Integer value)
Sets the blue component.
value - The blue component.public final void setGreen(Integer value)
Sets the green value.
value - The green component.public final void setRed(Integer value)
Sets the red component.
value - The red component.Copyright © 2026. All rights reserved.