jas.util
Class ColorConverter
java.lang.Object
  
jas.util.ColorConverter
public final class ColorConverter
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
stringToHTMLColor
public static Color stringToHTMLColor(String str)
                               throws ColorConverter.ColorConversionException
- Convert a color string "RED" (case-insensitive) or "#NNNNNN" or "(RRR,GGG,BBB)" to a Color.
- Returns:
 - the Color (null if no match is found)
 - Throws:
 ColorConverter.ColorConversionException
 
 
colorToString
public static String colorToString(Color c)
 
Copyright © 2000-2009 FreeHEP. All Rights Reserved.