Class Shadow
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.drawing.Shadow
- All Implemented Interfaces:
HasHandlers
A class used to define a shadow used in a Draw<Shape> Types.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
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
-
Shadow
public Shadow() -
Shadow
-
-
Method Details
-
getOrCreateRef
-
setBlur
- Parameters:
blur
- New blur value. Default value is 10- Returns:
Shadow
instance, for chaining setter calls
-
getBlur
public int getBlur()- Returns:
- Current blur value. Default value is 10
-
setColor
-
getColor
- Returns:
- Current color value. Default value is black
- See Also:
-
setOffset
- Parameters:
offset
- New offset value. Default value is [0,0]- Returns:
Shadow
instance, for chaining setter calls
-
getOffset
- Returns:
- Current offset value. Default value is [0,0]
-