Constructor and Description |
---|
SimpleGradient() |
SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
float |
getDirection()
Direction vector in degrees
|
java.lang.String |
getEndColor()
The end color of the gradient.
|
static SimpleGradient |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getStartColor()
The start color of the gradient.
|
void |
setDirection(float direction)
Direction vector in degrees
|
void |
setEndColor(java.lang.String endColor)
The end color of the gradient.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setStartColor(java.lang.String startColor)
The start color of the gradient.
|
getColorStops, getId, setColorStops, setId
doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, getJsObj, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject
public SimpleGradient()
public SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj)
public static SimpleGradient getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
setJavaScriptObject
in class Gradient
public void setDirection(float direction)
direction
- direction Default value is 0.0public float getDirection()
public void setEndColor(java.lang.String endColor)
setEndColor
in class Gradient
endColor
- . See CSSColor
. Default value is nullpublic java.lang.String getEndColor()
getEndColor
in class Gradient
CSSColor
public void setStartColor(java.lang.String startColor)
setStartColor
in class Gradient
startColor
- . See CSSColor
. Default value is nullpublic java.lang.String getStartColor()
getStartColor
in class Gradient
CSSColor