@Deprecated public final class ColorantRGB extends ColorantBase
Represents RGB Colorant.
Constructor and Description |
---|
ColorantRGB()
Deprecated.
Initializes a new instance of the
ColorantRGB class. |
ColorantRGB(byte red,
byte green,
byte blue)
Deprecated.
Initializes a new instance of the
ColorantRGB class. |
Modifier and Type | Method and Description |
---|---|
byte |
getBlue()
Deprecated.
Gets blue value.
|
byte |
getGreen()
Deprecated.
Gets green value.
|
byte |
getRed()
Deprecated.
Gets red value.
|
String |
getXmpRepresentation()
Deprecated.
Returns string contained value in XMP format.
|
void |
setBlue(byte value)
Deprecated.
Sets blue value.
|
void |
setGreen(byte value)
Deprecated.
Sets green value.
|
void |
setRed(byte value)
Deprecated.
Sets red value.
|
getColorType, getMode, getSwatchName, setColorType, setSwatchName
getNamespaceUri, getPrefix
toBool, toDateTime, toFloat, toGuid, toInt, toString, toStringArray
public 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
- Red component.green
- Green component.blue
- Blue component.public final byte getRed()
Gets red value.
public final void setRed(byte value)
Sets red value.
value
- Red value.public final byte getGreen()
Gets green value.
public final void setGreen(byte value)
Sets green value.
value
- Green value.public final byte getBlue()
Gets blue value.
public final void setBlue(byte value)
Sets blue value.
value
- Blue value.public String getXmpRepresentation()
Returns string contained value in XMP format.
getXmpRepresentation
in interface IXmpType
getXmpRepresentation
in class ColorantBase
string
contained XMP representation.Copyright © 2020. All rights reserved.