com.google.gwt.widgetideas.graphics.client
Class Color
java.lang.Object
com.google.gwt.widgetideas.graphics.client.Color
public class Color
- extends java.lang.Object
Simple Wrapper specifying a color in RGB format.
Provides various methods for converting to String representations
of the specified color for easy compatibility with various APIs
Constructor Summary |
Color(int r,
int g,
int b)
|
Color(int r,
int b,
int g,
float a)
|
Color(java.lang.String colorStr)
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GREEN
public static final Color GREEN
RED
public static final Color RED
BLUE
public static final Color BLUE
BLACK
public static final Color BLACK
Color
public Color(int r,
int g,
int b)
Color
public Color(int r,
int b,
int g,
float a)
Color
public Color(java.lang.String colorStr)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object