XmpColorantRgb
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, com.groupdocs.metadata.core.XmpColorantBase
public final class XmpColorantRgb extends XmpColorantBase
Represents the RGB Colorant.
| Constructor | 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. |
| Method | Description |
|---|---|
| getRed() | Gets the red component. |
| setRed(Integer value) | Sets the red component. |
| getGreen() | Gets the green value. |
| setGreen(Integer value) | Sets the green value. |
| getBlue() | Gets the blue component. |
| setBlue(Integer value) | Sets the blue component. |
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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| red | int | Red component. |
| green | int | Green component. |
| blue | int | Blue component. |
public final Integer getRed()
Gets the red component.
Returns: java.lang.Integer - The red component.
public final void setRed(Integer value)
Sets the red component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer | The red component. |
public final Integer getGreen()
Gets the green value.
Returns: java.lang.Integer - The green component.
public final void setGreen(Integer value)
Sets the green value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer | The green component. |
public final Integer getBlue()
Gets the blue component.
Returns: java.lang.Integer - The blue component.
public final void setBlue(Integer value)
Sets the blue component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.Integer | The blue component. |
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.