Class RadialGradient
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.Gradient
com.smartgwt.client.widgets.drawing.RadialGradient
- All Implemented Interfaces:
HasHandlers
Definition of a radial gradient.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCx()
x coordinate of outer radialgetCy()
y coordinate of outer radialgetFx()
x coordinate of inner radialgetFy()
y coordinate of inner radialstatic RadialGradient
getOrCreateRef
(JavaScriptObject jsObj) getR()
radiusx coordinate of outer radialy coordinate of outer radialx coordinate of inner radialy coordinate of inner radialradiusMethods inherited from class com.smartgwt.client.widgets.drawing.Gradient
getColorStops, getEndColor, getId, getStartColor, setColorStops, setEndColor, setId, setStartColor
Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, 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
-
Constructor Details
-
RadialGradient
public RadialGradient() -
RadialGradient
-
-
Method Details
-
getOrCreateRef
-
setCx
x coordinate of outer radial- Parameters:
cx
- New cx value. Default value is null- Returns:
RadialGradient
instance, for chaining setter calls
-
getCx
x coordinate of outer radial- Returns:
- Current cx value. Default value is null
-
setCy
y coordinate of outer radial- Parameters:
cy
- New cy value. Default value is null- Returns:
RadialGradient
instance, for chaining setter calls
-
getCy
y coordinate of outer radial- Returns:
- Current cy value. Default value is null
-
setFx
x coordinate of inner radial- Parameters:
fx
- New fx value. Default value is null- Returns:
RadialGradient
instance, for chaining setter calls
-
getFx
x coordinate of inner radial- Returns:
- Current fx value. Default value is null
-
setFy
y coordinate of inner radial- Parameters:
fy
- New fy value. Default value is 0- Returns:
RadialGradient
instance, for chaining setter calls
-
getFy
y coordinate of inner radial- Returns:
- Current fy value. Default value is 0
-
setR
radius- Parameters:
r
- New r value. Default value is null- Returns:
RadialGradient
instance, for chaining setter calls
-
getR
radius- Returns:
- Current r value. Default value is null
-