summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic/SVGAnimatedNumber.java
blob: e971e56742a9538aa4db0ea4e8d45a9fb3832c21 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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();
}