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, setSwatchName
getNamespaceUri, getNamespaceUris, getPrefixes, getXmpRepresentation, toString
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
public 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 getRed()
Gets the red component.
public final void setRed(Integer value)
Sets the red component.
value
- The red component.public final Integer getGreen()
Gets the green value.
public final void setGreen(Integer value)
Sets the green value.
value
- The green component.public final Integer getBlue()
Gets the blue component.
public final void setBlue(Integer value)
Sets the blue component.
value
- The blue component.