Class ColorMapper
java.lang.Object
org.apache.tools.ant.types.optional.image.ColorMapper
- See Also:
Image
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringblack stringstatic Stringblue stringstatic Stringcyan stringstatic Stringblack stringstatic Stringdarkgrey stringstatic Stringgray stringstatic Stringgreen stringstatic Stringgrey stringstatic Stringlightgray stringstatic Stringlightgrey stringstatic Stringmagenta stringstatic Stringorange stringstatic Stringpink stringstatic Stringreg stringstatic Stringwhite stringstatic Stringyellow string -
Method Summary
Modifier and TypeMethodDescriptionstatic ColorgetColorByName(String colorName)Convert a color name to a color value.
-
Field Details
-
COLOR_BLACK
black string- See Also:
- Constant Field Values
-
COLOR_BLUE
blue string- See Also:
- Constant Field Values
-
COLOR_CYAN
cyan string- See Also:
- Constant Field Values
-
COLOR_DARKGRAY
black string- See Also:
- Constant Field Values
-
COLOR_GRAY
gray string- See Also:
- Constant Field Values
-
COLOR_LIGHTGRAY
lightgray string- See Also:
- Constant Field Values
-
COLOR_DARKGREY
darkgrey string- See Also:
- Constant Field Values
-
COLOR_GREY
grey string- See Also:
- Constant Field Values
-
COLOR_LIGHTGREY
lightgrey string- See Also:
- Constant Field Values
-
COLOR_GREEN
green string- See Also:
- Constant Field Values
-
COLOR_MAGENTA
magenta string- See Also:
- Constant Field Values
-
COLOR_ORANGE
orange string- See Also:
- Constant Field Values
-
COLOR_PINK
pink string- See Also:
- Constant Field Values
-
COLOR_RED
reg string- See Also:
- Constant Field Values
-
COLOR_WHITE
white string- See Also:
- Constant Field Values
-
COLOR_YELLOW
yellow string- See Also:
- Constant Field Values
-
-
Method Details
-
getColorByName
Convert a color name to a color value.- Parameters:
colorName- a string repr of the color.- Returns:
- the color value.
- To do:
- refactor to use an EnumeratedAttribute (maybe?)
-