ColorantRgb Class
Contents
[
Hide
]Summary: Represents RGB Colorant.
Module: aspose.imaging.xmp.types.complex.colorant
Full Name: aspose.imaging.xmp.types.complex.colorant.ColorantRgb
Inheritance: IXmpType, ColorantBase
Aspose.Imaging Version: 24.5.0
Constructors
Name | Description |
---|---|
ColorantRgb() | Initializes a new instance of the ColorantRgb class. |
ColorantRgb(red, green, blue) | Initializes a new instance of the ColorantRgb class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
blue | byte | r/w | Gets or sets the blue component value. |
color_type | ColorType | r/w | Gets or sets the type of the color. |
green | byte | r/w | Gets or sets the green component value. |
mode | ColorMode | r | Gets ColorMode. |
namespace_uri | string | r | Gets the default namespace URI. |
prefix | string | r | Gets the prefix. |
red | byte | r/w | Gets or sets the red component value. |
swatch_name | string | r/w | Gets or sets the name of the swatch. |
Methods
Name | Description |
---|---|
get_xmp_representation() | Gets the string contained value in XMP format. |
Constructor: ColorantRgb()
ColorantRgb()
Initializes a new instance of the ColorantRgb class.
Constructor: ColorantRgb(red, green, blue)
ColorantRgb(red, green, blue)
Initializes a new instance of the ColorantRgb class.
Parameters:
Parameter | Type | Description |
---|---|---|
red | byte | The red component value. |
green | byte | The green component value. |
blue | byte | The blue component value. |
Method: get_xmp_representation()
get_xmp_representation()
Gets the string contained value in XMP format.
Returns
Type | Description |
---|---|
string | Returns the string contained value in XMP format. |