org.epseelon.mobimap.util
Class Color

java.lang.Object
  extended by org.epseelon.mobimap.util.Color

public class Color
extends java.lang.Object

This class defines a few color constants

Author:
sarbogast

Field Summary
static int BLACK
          Constant for the int black: R=0, G=0, B=0.
static int BLUE
          Constant for the int blue: R=0, G=0, B=255.
static int CYAN
          Constant for the int cyan: R=0, G=255, B=255.
static int DARK_GRAY
          Constant for the int dark gray: R=64, G=64, B=64.
static int GRAY
          Constant for the int gray: R=128, G=128, B=128.
static int GREEN
          Constant for the int green: R=0, G=255, B=0.
static int LIGHT_GRAY
          Constant for the int light gray: R=192, G=192, B=192.
static int LIGHT_YELLOW
           
static int MAGENTA
          Constant for the int magenta: R=255, G=0, B=255.
static int ORANGE
          Constant for the int orange: R=255, G=200, B=0.
static int PINK
          Constant for the int pink: R=255, G=175, B=175.
static int RED
          Constant for the int red: R=255, G=0, B=0.
static int WHITE
          Constant for the int white: R=255, G=255, B=255.
static int YELLOW
          Constant for the int yellow: R=255, G=255, B=0.
 
Constructor Summary
Color()
           
 
Method Summary
static javax.microedition.lcdui.Image getImageCopyWithTransparentBackground(javax.microedition.lcdui.Image img, int transparentColor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WHITE

public static final int WHITE
Constant for the int white: R=255, G=255, B=255.

See Also:
Constant Field Values

LIGHT_GRAY

public static final int LIGHT_GRAY
Constant for the int light gray: R=192, G=192, B=192.

See Also:
Constant Field Values

GRAY

public static final int GRAY
Constant for the int gray: R=128, G=128, B=128.

See Also:
Constant Field Values

DARK_GRAY

public static final int DARK_GRAY
Constant for the int dark gray: R=64, G=64, B=64.

See Also:
Constant Field Values

BLACK

public static final int BLACK
Constant for the int black: R=0, G=0, B=0.

See Also:
Constant Field Values

RED

public static final int RED
Constant for the int red: R=255, G=0, B=0.

See Also:
Constant Field Values

PINK

public static final int PINK
Constant for the int pink: R=255, G=175, B=175.

See Also:
Constant Field Values

ORANGE

public static final int ORANGE
Constant for the int orange: R=255, G=200, B=0.

See Also:
Constant Field Values

YELLOW

public static final int YELLOW
Constant for the int yellow: R=255, G=255, B=0.

See Also:
Constant Field Values

GREEN

public static final int GREEN
Constant for the int green: R=0, G=255, B=0.

See Also:
Constant Field Values

MAGENTA

public static final int MAGENTA
Constant for the int magenta: R=255, G=0, B=255.

See Also:
Constant Field Values

CYAN

public static final int CYAN
Constant for the int cyan: R=0, G=255, B=255.

See Also:
Constant Field Values

BLUE

public static final int BLUE
Constant for the int blue: R=0, G=0, B=255.

See Also:
Constant Field Values

LIGHT_YELLOW

public static final int LIGHT_YELLOW
See Also:
Constant Field Values
Constructor Detail

Color

public Color()
Method Detail

getImageCopyWithTransparentBackground

public static javax.microedition.lcdui.Image getImageCopyWithTransparentBackground(javax.microedition.lcdui.Image img,
                                                                                   int transparentColor)


Copyright © 2008 Epseelon. All Rights Reserved.