com.google.gwt.visualization.client
Class Color
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.ajaxloader.client.Properties
com.google.gwt.visualization.client.Color
public class Color
- extends Properties
Color specification for DrawOptions. Color-related draw options often accept
either the name of the color as a string, or the detailed color specification
as implemented by the following class.
Constructor Summary |
protected |
Color()
|
Methods inherited from class com.google.gwt.ajaxloader.client.Properties |
getBoolean, getDate, getNumber, getObject, getString, remove, set, set, set, set, set, typeof |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Color
protected Color()
create
public static Color create()
create
public static Color create(java.lang.String fill,
java.lang.String stroke,
int strokeSize)
setFill
public final void setFill(java.lang.String fill)
setStroke
public final void setStroke(java.lang.String stroke)
setStrokeSize
public final void setStrokeSize(int strokeSize)