org.vectomatic.dom.svg
Class OMSVGAnimatedNumber
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
org.vectomatic.dom.svg.OMSVGAnimatedNumber
public class OMSVGAnimatedNumber
- extends com.google.gwt.core.client.JavaScriptObject
Used for attributes of basic type <number>
which can be animated.
Method Summary |
float |
getAnimVal()
If the given attribute or property is being animated, contains the current
animated value of the attribute or property. |
float |
getBaseVal()
The base value of the given attribute before applying any animations. |
void |
setBaseVal(float value)
The base value of the given attribute before applying any animations. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
OMSVGAnimatedNumber
protected OMSVGAnimatedNumber()
getBaseVal
public final float getBaseVal()
- The base value of the given attribute before applying any animations.
setBaseVal
public final void setBaseVal(float value)
throws com.google.gwt.core.client.JavaScriptException
- The base value of the given attribute before applying any animations.
- Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- Raised on an attempt
to change the value of a read only
attribute.
com.google.gwt.core.client.JavaScriptException
getAnimVal
public final float getAnimVal()
- If the given attribute or property is being animated, contains the current
animated value of the attribute or property. If the given attribute or
property is not currently being animated, contains the same value as
getBaseVal()
.
Copyright © 2012. All Rights Reserved.