net.avh4.framework.uilayer
Class Color

java.lang.Object
  extended by net.avh4.framework.uilayer.Color

public class Color
extends Object


Field Summary
static int BLACK
           
static int BLUE
           
static int GRAY
           
static int GREEN
           
static int GREY
           
static int RED
           
static int WHITE
           
static int YELLOW
           
 
Constructor Summary
Color()
           
 
Method Summary
static int darken(double factor, int color)
           
static int getAlpha(int color)
           
static int getBlue(int color)
           
static int getGreen(int color)
           
static int getRed(int color)
           
static int getValue(int color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BLACK

public static final int BLACK
See Also:
Constant Field Values

BLUE

public static final int BLUE
See Also:
Constant Field Values

GREEN

public static final int GREEN
See Also:
Constant Field Values

GRAY

public static final int GRAY
See Also:
Constant Field Values

GREY

public static final int GREY
See Also:
Constant Field Values

RED

public static final int RED
See Also:
Constant Field Values

WHITE

public static final int WHITE
See Also:
Constant Field Values

YELLOW

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

Color

public Color()
Method Detail

getAlpha

public static int getAlpha(int color)

getRed

public static int getRed(int color)

getGreen

public static int getGreen(int color)

getBlue

public static int getBlue(int color)

getValue

public static int getValue(int color)

darken

public static int darken(double factor,
                         int color)


Copyright © 2012. All Rights Reserved.