|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object legacy.video.Colors
public class Colors
Colors.class contains a list of standard predifined colors generaly used by various systems.
Field Summary | |
---|---|
static RGB |
BLACK
Standard Black color |
static RGB |
BLUE
Standard Blue color |
static RGB |
CREAM
Standard Cream color |
static RGB |
CYAN
Standard Cyan color |
static RGB |
DARK_BLUE
Standard Dark Blue color |
static RGB |
DARK_CYAN
Standard Dark Cyan color |
static RGB |
DARK_GREEN
Standard Dark Green color |
static RGB |
DARK_GREY
Standard Dark Grey color |
static RGB |
DARK_MAGENTA
Standard Dark Magenta color |
static RGB |
DARK_RED
Standard Dark Red color |
static RGB |
DARK_YELLOW
Standard Dark Yellow color |
static RGB |
GREEN
Standard Green color |
static RGB |
LIGHT_GREY
Standard Light Grey color |
static RGB |
MAGENTA
Standard Magenta color |
static RGB |
MEDIUM_GREY
Standard Medium Grey color |
static RGB |
MONEY_GREEN
Standard Money Green color |
static RGB |
RED
Standard Red color |
static RGB |
SKY_BLUE
Standard Sky Blue color |
static RGB |
WHITE
Standard White color |
static RGB |
YELLOW
Standard Yellow color |
Constructor Summary | |
---|---|
Colors()
|
Method Summary | |
---|---|
static int |
getDistance(RGB rgbx,
RGB rgby)
getDistance calculates an effective destance between to individual colors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final RGB BLACK
public static final RGB DARK_RED
public static final RGB DARK_GREEN
public static final RGB DARK_YELLOW
public static final RGB DARK_BLUE
public static final RGB DARK_MAGENTA
public static final RGB DARK_CYAN
public static final RGB LIGHT_GREY
public static final RGB MONEY_GREEN
public static final RGB SKY_BLUE
public static final RGB CREAM
public static final RGB MEDIUM_GREY
public static final RGB DARK_GREY
public static final RGB RED
public static final RGB GREEN
public static final RGB YELLOW
public static final RGB BLUE
public static final RGB MAGENTA
public static final RGB CYAN
public static final RGB WHITE
Constructor Detail |
---|
public Colors()
Method Detail |
---|
public static final int getDistance(RGB rgbx, RGB rgby)
rgbx
- RGB triplet xrgby
- RGB triplet y
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |