com.smartgwt.client.widgets.drawing
Class Shadow
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.Shadow
public class Shadow
- extends DataClass
A class used to define a shadow used in a Draw Types.
| Fields inherited from class com.smartgwt.client.core.JsObject |
jsObj |
| Methods inherited from class com.smartgwt.client.core.DataClass |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shadow
public Shadow()
Shadow
public Shadow(JavaScriptObject jsObj)
getOrCreateRef
public static Shadow getOrCreateRef(JavaScriptObject jsObj)
setBlur
public void setBlur(int blur)
- Parameters:
blur - blur Default value is 10
getBlur
public int getBlur()
- Returns:
- int
setColor
public void setColor(String color)
- Parameters:
color - color Default value is black
getColor
public String getColor()
- Returns:
- String
setOffset
public void setOffset(Point offset)
- Parameters:
offset - offset Default value is [0,0]
getOffset
public Point getOffset()
- Returns:
- Point