org.jmage.util
Class ColorUtil

java.lang.Object
  extended by org.jmage.util.ColorUtil

public class ColorUtil
extends java.lang.Object

Utility class for color conversions


Constructor Summary
ColorUtil()
           
 
Method Summary
static int[] decodeRGBString(java.lang.String color)
          Converts an RRGGBB style string into an int array
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorUtil

public ColorUtil()
Method Detail

decodeRGBString

public static int[] decodeRGBString(java.lang.String color)
                             throws java.lang.NumberFormatException,
                                    java.lang.AssertionError
Converts an RRGGBB style string into an int array

Parameters:
color - string
Returns:
an int array containing the rgb values.
Throws:
java.lang.NumberFormatException
java.lang.AssertionError


Copyright © 2004-2008 Sourceforge. All Rights Reserved.