public class RgbPlotColor extends java.lang.Object implements PlotColor
| Constructor and Description |
|---|
RgbPlotColor(float red,
float green,
float blue)
Create a new color using the RGB colorspace.
|
RgbPlotColor(int red,
int green,
int blue)
Create a new color using the RGB colorspace.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColor()
Get the representation of this color
|
public RgbPlotColor(int red,
int green,
int blue)
red - value for red color, in the range of 0..255green - value for green color, in the range of 0..255blue - value for blue color, in the range of 0..255public RgbPlotColor(float red,
float green,
float blue)
red - value for red color, in the range of 0..1green - value for green color, in the range of 0..1blue - value for blue color, in the range of 0..1