summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/shape/SVGAnimatedPoints.java
blob: 7d04a7ebebe18a181ed3f900c47eb133ac1d393c (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
/*
 * SVGAnimatedPoints.java
 *
 * Created on April 12, 2007, 9:49 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.kitfox.salamander.svg.shape;

import com.kitfox.salamander.svg.coordSystems.SVGPointList;

/**
 * 
 * The SVGAnimatedPoints  interface supports elements which have a 'points' attribute which holds a list of coordinate values and which support the ability to animate that attribute.
 * 
 * Additionally, the 'points' attribute on the original element accessed via the XML DOM (e.g., using the getAttribute() method call) will reflect any changes made to points.
 * @author kitfox
 */
public interface SVGAnimatedPoints
{
    /**
     * Provides access to the base (i.e., static) contents of the points  attribute.
     */
    public SVGPointList getPoints();
    /**
     * Provides access to the current animated contents of the points attribute. 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 'points'.
     */
    public SVGPointList getAnimatedPoints();
}