fi.hut.tml.xsmiles.mlfc.general
Class ColorConverter

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.general.ColorConverter

public class ColorConverter
extends java.lang.Object

ColorConverter parses and returns color values. Modified by Kari Pihkala 20.2.2001 - supports now color names (green, blue...) Modified by KP 11.5.2001 - supports now rgb(r,g,b) syntax


Constructor Summary
ColorConverter()
           
 
Method Summary
static java.awt.Color getTransparentColor()
           
static java.awt.Color hexaToRgb(java.lang.String hexa)
           
static java.awt.Color invertColor(java.awt.Color color)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorConverter

public ColorConverter()
Method Detail

hexaToRgb

public static java.awt.Color hexaToRgb(java.lang.String hexa)

getTransparentColor

public static java.awt.Color getTransparentColor()

invertColor

public static java.awt.Color invertColor(java.awt.Color color)


X-Smiles 1.2