public class ColorRGB extends com.aspose.ms.lang.Struct<ColorRGB>
Structure that defines RGB color
Modifier and Type | Field and Description |
---|---|
byte |
Blue
B component
|
byte |
Green
G component
|
byte |
Red
R component
|
Constructor and Description |
---|
ColorRGB() |
ColorRGB(byte red,
byte green,
byte blue)
Constructor for ColorRGB from separate R,G and B
|
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
ColorRGB |
Clone() |
void |
CloneTo(ColorRGB that) |
boolean |
equals(Object obj) |
int |
hashCode() |
static boolean |
isEquals(ColorRGB obj1,
ColorRGB obj2) |
public byte Red
R component
public byte Green
G component
public byte Blue
B component
public ColorRGB()
public ColorRGB(byte red, byte green, byte blue)
Constructor for ColorRGB from separate R,G and B
red
- Red valuegreen
- Green valueblue
- Blue value