com.google.gwt.visualization.client
Class Color

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.ajaxloader.client.Properties
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.ajaxloader.client.Properties
Properties.TypeException
 
Constructor Summary
protected Color()
           
 
Method Summary
static Color create()
           
static Color create(java.lang.String fill, java.lang.String stroke, int strokeSize)
           
 void setFill(java.lang.String fill)
           
 void setStroke(java.lang.String stroke)
           
 void setStrokeSize(int strokeSize)
           
 
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
 

Constructor Detail

Color

protected Color()
Method Detail

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)