com.google.gwt.visualization.client
Class Color3D
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.ajaxloader.client.Properties
com.google.gwt.visualization.client.Color3D
public class Color3D
- extends Properties
Allows users to setup the 3D color scheme on any 3D visualization
Constructor Summary |
protected |
Color3D()
|
Method Summary |
static Color3D |
create()
Create an object to hold a color/shadow mapping for a chart element. |
static Color3D |
create(java.lang.String color,
java.lang.String shadeColor)
Create a color/shadow mapping for a chart element. |
Color3D |
setFaceColor(java.lang.String color)
Color to use on the face of the visualization. |
Color3D |
setShadeColor(java.lang.String shadeColor)
Color to use to shade the visualization. |
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 |
Color3D
protected Color3D()
create
public static Color3D create()
- Create an object to hold a color/shadow mapping for a chart element.
create
public static Color3D create(java.lang.String color,
java.lang.String shadeColor)
- Create a color/shadow mapping for a chart element.
- Parameters:
color
- color to use as the graph top color.shadeColor
- color to use as the shadow color.
setFaceColor
public final Color3D setFaceColor(java.lang.String color)
- Color to use on the face of the visualization.
- Parameters:
color
- Color to use on the face of the visualization.
setShadeColor
public final Color3D setShadeColor(java.lang.String shadeColor)
- Color to use to shade the visualization.
- Parameters:
shadeColor
- Color to use to shade the visualization.