public final class ColorantRgb extends ColorantBase
Represents RGB Colorant.
| Constructor and Description |
|---|
ColorantRgb()
Initializes a new instance of the
ColorantRgb class. |
ColorantRgb(byte red,
byte green,
byte blue)
Initializes a new instance of the
ColorantRgb class. |
| Modifier and Type | Method and Description |
|---|---|
byte |
getBlue()
Gets or sets the blue component value.
|
byte |
getGreen()
Gets or sets the green component value.
|
byte |
getRed()
Gets or sets the red component value.
|
String |
getXmpRepresentation()
Gets the string contained value in XMP format.
|
void |
setBlue(byte value)
Gets or sets the blue component value.
|
void |
setGreen(byte value)
Gets or sets the green component value.
|
void |
setRed(byte value)
Gets or sets the red component value.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchNamegetNamespaceUri, getPrefixpublic ColorantRgb()
Initializes a new instance of the ColorantRgb class.
public ColorantRgb(byte red,
byte green,
byte blue)
Initializes a new instance of the ColorantRgb class.
red - The red component value.green - The green component value.blue - The blue component value.public byte getRed()
Gets or sets the red component value.
Value: The red component value.public void setRed(byte value)
Gets or sets the red component value.
Value: The red component value.public byte getGreen()
Gets or sets the green component value.
Value: The green component value.public void setGreen(byte value)
Gets or sets the green component value.
Value: The green component value.public byte getBlue()
Gets or sets the blue component value.
Value: The blue component value.public void setBlue(byte value)
Gets or sets the blue component value.
Value: The blue component value.public String getXmpRepresentation()
Gets the string contained value in XMP format.
getXmpRepresentation in interface IXmpTypegetXmpRepresentation in class ColorantBaseCopyright (c) 2008-2022 Aspose Pty Ltd. All Rights Reserved.