public class Gradient extends DataClass
Constructor and Description |
---|
Gradient() |
Gradient(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
ColorStop[] |
getColorStops()
An array of color stops for this gradient.
|
java.lang.String |
getEndColor()
An end color for the gradient.
|
java.lang.String |
getId()
The ID of the gradient.
|
static Gradient |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.String |
getStartColor()
A start color for the gradient.
|
void |
setColorStops(ColorStop... colorStops)
An array of color stops for this gradient.
|
void |
setEndColor(java.lang.String endColor)
An end color for the gradient.
|
void |
setId(java.lang.String id)
The ID of the gradient.
|
void |
setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj) |
void |
setStartColor(java.lang.String startColor)
A start color for the gradient.
|
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 Gradient()
public Gradient(com.google.gwt.core.client.JavaScriptObject jsObj)
public static Gradient getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setJavaScriptObject(com.google.gwt.core.client.JavaScriptObject jsObj)
public void setColorStops(ColorStop... colorStops)
colorStops
- colorStops Default value is nullpublic ColorStop[] getColorStops()
public void setEndColor(java.lang.String endColor)
startColor
and
endColor are set then colorStops
is ignored.endColor
- . See CSSColor
. Default value is nullpublic java.lang.String getEndColor()
startColor
and
endColor are set then colorStops
is ignored.CSSColor
public void setId(java.lang.String id)
id
- . See String
. Default value is nullpublic java.lang.String getId()
String
public void setStartColor(java.lang.String startColor)
endColor
are set then colorStops
is ignored.startColor
- . See CSSColor
. Default value is nullpublic java.lang.String getStartColor()
endColor
are set then colorStops
is ignored.CSSColor