public class ColorPalette extends Object
Modifier and Type | Field and Description |
---|---|
static double[] |
blue3D |
static double[] |
green3D |
static double[] |
red3D |
Constructor and Description |
---|
ColorPalette() |
Modifier and Type | Method and Description |
---|---|
void |
ColorPalette(int mode) |
void |
draw(Graphics2D g2d,
int x,
int y,
int width,
int height,
double axismin,
double axismax,
Boolean logFlag) |
static List<Color> |
generateColorPalette3D() |
int |
getAxisWidth(Graphics2D g2d,
int x,
int y,
int width,
int height,
double axismin,
double axismax,
Boolean logFlag) |
static Color |
getColor(int color) |
Color |
getColor3D(double value,
double max,
boolean islog) |
Color |
getColor3D(int bin) |
int |
getColor3DSize() |
static Color |
getColorPalette3D(int index) |
static int |
getColorPallete3DSize() |
Color |
getRange(double fraction) |
static TreeMap<Integer,Color> |
initColorMap() |
void |
set(int mode) |
static void |
setColor(int color,
int red,
int green,
int blue) |
static void |
setColor(int color,
int red,
int green,
int blue,
int alpha) |
public static double[] red3D
public static double[] green3D
public static double[] blue3D
public void ColorPalette(int mode)
public final void set(int mode)
public static int getColorPallete3DSize()
public static Color getColorPalette3D(int index)
public Color getColor3D(int bin)
public int getColor3DSize()
public Color getColor3D(double value, double max, boolean islog)
public Color getRange(double fraction)
public static void setColor(int color, int red, int green, int blue, int alpha)
public static void setColor(int color, int red, int green, int blue)
public static Color getColor(int color)
public int getAxisWidth(Graphics2D g2d, int x, int y, int width, int height, double axismin, double axismax, Boolean logFlag)
public void draw(Graphics2D g2d, int x, int y, int width, int height, double axismin, double axismax, Boolean logFlag)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics