net.avh4.framework.uilayer
Class Color
java.lang.Object
net.avh4.framework.uilayer.Color
public class Color
- extends Object
|
Constructor Summary |
Color()
|
|
Method Summary |
static int |
alpha(int color,
int a)
|
static int |
darken(double factor,
int color)
|
static int |
fromRGB(int r,
int g,
int b)
|
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 |
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
DARK_GRAY
public static final int DARK_GRAY
- See Also:
- Constant Field Values
Color
public Color()
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)
fromRGB
public static int fromRGB(int r,
int g,
int b)
alpha
public static int alpha(int color,
int a)
Copyright © 2012. All Rights Reserved.