public class VisualizeUtils
extends java.lang.Object
Constructor and Description |
---|
VisualizeUtils() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
processColour(java.lang.String colourDef,
java.awt.Color defaultColour)
Parses a string containing either a named colour or r,g,b values.
|
public static java.awt.Color processColour(java.lang.String colourDef, java.awt.Color defaultColour)
colourDef
- the string containing the named colour (or r,g,b)defaultColour
- the colour to return if parsing fails