|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.java2d.color.ColorUtil
Generic Color helper class.
This class supports parsing string values into color values and creating color values for strings. It provides a list of standard color names.
| Method Summary | |
static boolean |
isGray(java.awt.Color col)
Indicates whether the color is a gray value. |
static java.awt.Color |
lightenColor(java.awt.Color col,
float factor)
Lightens up a color for groove, ridge, inset and outset border effects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.awt.Color lightenColor(java.awt.Color col,
float factor)
col - the color to lighten upfactor - factor by which to lighten up (negative values darken the color)
public static boolean isGray(java.awt.Color col)
col - the color
|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||