summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
new file mode 100755
index 0000000..e971e56
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
@@ -0,0 +1,31 @@
+/*
+ * SVGAnimatedInteger.java
+ *
+ * Created on April 12, 2007, 12:48 PM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.basic;
+
+/**
+ *
+ * Used for attributes of basic type 'number' which can be animated.
+ * @author kitfox
+ */
+public interface SVGAnimatedNumber
+{
+ /**
+ * The base value of the given attribute before applying any animations.
+ */
+ public float getBaseVal();
+
+ /**
+ * 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 'baseVal'.
+ */
+ public float getAnimVal();
+}