|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.util.ColorUtil
public class ColorUtil
| Constructor Summary | |
|---|---|
ColorUtil()
|
|
| Method Summary | |
|---|---|
static Color |
blend(Color color1,
Color color2,
double ratio)
|
static Color |
blend(int[] color1,
int[] color2,
double ratio)
|
static Color |
darker(int[] color,
double ratio)
|
static String |
getHex(int[] rgb)
|
static int[] |
getRGB(String hex)
|
static Color |
lighter(int[] color,
double ratio)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColorUtil()
| Method Detail |
|---|
public static Color blend(Color color1,
Color color2,
double ratio)
public static Color blend(int[] color1,
int[] color2,
double ratio)
public static Color darker(int[] color,
double ratio)
public static String getHex(int[] rgb)
public static int[] getRGB(String hex)
public static Color lighter(int[] color,
double ratio)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||