factoryCreated, factoryProperties
Constructor and Description |
---|
SimpleGradient() |
SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
float |
getDirection()
Angle of the 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.
|
SimpleGradient |
setDirection(float direction)
Angle of the direction vector in degrees.
|
SimpleGradient |
setEndColor(java.lang.String endColor)
The end color of the gradient.
|
SimpleGradient |
setStartColor(java.lang.String startColor)
The start color of the gradient.
|
getColorStops, getId, setColorStops, setId
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, 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, setFactoryCreated
public SimpleGradient()
public SimpleGradient(com.google.gwt.core.client.JavaScriptObject jsObj)
public static SimpleGradient getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public SimpleGradient setDirection(float direction)
direction
- New direction value. Default value is 0.0SimpleGradient
instance, for chaining setter callspublic float getDirection()
public SimpleGradient setEndColor(java.lang.String endColor)
setEndColor
in class Gradient
endColor
- New endColor value. Default value is nullSimpleGradient
instance, for chaining setter callsCSSColor
public java.lang.String getEndColor()
getEndColor
in class Gradient
CSSColor
public SimpleGradient setStartColor(java.lang.String startColor)
setStartColor
in class Gradient
startColor
- New startColor value. Default value is nullSimpleGradient
instance, for chaining setter callsCSSColor
public java.lang.String getStartColor()
getStartColor
in class Gradient
CSSColor