java.io.Serializable
, java.lang.Cloneable
, java.util.Map<java.lang.String,int[]>
@Deprecated
public class WebColors
extends java.util.HashMap<java.lang.String,int[]>
Modifier and Type | Field | Description |
---|---|---|
static WebColors |
NAMES |
Deprecated.
HashMap containing all the names and corresponding color values.
|
Constructor | Description |
---|---|
WebColors() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
static BaseColor |
getRGBColor(java.lang.String name) |
Deprecated.
Gives you a BaseColor based on a name.
|
public static final WebColors NAMES
public static BaseColor getRGBColor(java.lang.String name)
name
- a name such as black, violet, cornflowerblue or #RGB or
#RRGGBB or RGB or RRGGBB or rgb(R,G,B)java.lang.IllegalArgumentException
- if the String isn't a know representation of a color.Copyright © 1998–2018. All rights reserved.