public class Color extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static Color |
BLACK |
static Color |
BLUE |
static Color |
CYAN |
static Color |
GREEN |
static Color |
MAGENTA |
static Color |
RED |
static Color |
WHITE |
static Color |
YELLOW |
Constructor and Description |
---|
Color(int red,
int green,
int blue)
The alpha channel is set to no transparency
|
Color(int red,
int green,
int blue,
int alpha) |
public static final Color BLACK
public static final Color WHITE
public static final Color GREEN
public static final Color RED
public static final Color BLUE
public static final Color YELLOW
public static final Color MAGENTA
public static final Color CYAN
public Color(int red, int green, int blue, int alpha)
red
- 0..255green
- 0..255blue
- 0..255alpha
- 0..255
public Color(int red, int green, int blue)
red
- 0..255green
- 0..255blue
- 0..255
Copyright 2009-2012 Micro Focus. All Rights Reserved.