org.apache.tools.ant.types.optional.image
public final class ColorMapper extends Object
See Also: Image
| Field Summary | |
|---|---|
| static String | COLOR_BLACK black string |
| static String | COLOR_BLUE blue string |
| static String | COLOR_CYAN cyan string |
| static String | COLOR_DARKGRAY black string |
| static String | COLOR_DARKGREY darkgrey string |
| static String | COLOR_GRAY gray string |
| static String | COLOR_GREEN green string |
| static String | COLOR_GREY grey string |
| static String | COLOR_LIGHTGRAY lightgray string |
| static String | COLOR_LIGHTGREY lightgrey string |
| static String | COLOR_MAGENTA magenta string |
| static String | COLOR_ORANGE orange string |
| static String | COLOR_PINK pink string |
| static String | COLOR_RED reg string |
| static String | COLOR_WHITE white string |
| static String | COLOR_YELLOW yellow string |
| Method Summary | |
|---|---|
| static Color | getColorByName(String colorName)
Convert a color name to a color value. |
Parameters: colorName a string repr of the color.
Returns: the color value.
UNKNOWN: refactor to use an EnumeratedAttribute (maybe?)