@Deprecated public class WebColors extends HashMap<String,int[]>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
static WebColors |
NAMES
Deprecated.
HashMap containing all the names and corresponding color values.
|
Constructor and Description |
---|
WebColors()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BaseColor |
getRGBColor(String name)
Deprecated.
Gives you a BaseColor based on a name.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public static final WebColors NAMES
public static BaseColor getRGBColor(String name)
name
- a name such as black, violet, cornflowerblue or #RGB or #RRGGBB or RGB or RRGGBB or rgb(R,G,B)
IllegalArgumentException
- if the String isn't a know representation of a color.
Copyright © 1998–2019. All rights reserved.