summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java
blob: 7d3680d76da3970e1f6d5e237369d5dc890ee961 (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
32
33
/*
 * SVGUnitTypes.java
 *
 * Created on April 12, 2007, 2:58 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.kitfox.salamander.svg.basic;

/**
 * The SVGUnitTypes  interface defines a commonly used set of constants and is a base interface used by SVGGradientElement, SVGPatternElement, SVGClipPathElement, SVGMaskElement, and SVGFilterElement.
 * @author kitfox
 */
public interface SVGUnitTypes
{
    public static enum Type
    {
        /**
         * The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
         */
        UNKNOWN,
        /**
         * Corresponds to value userSpaceOnUse.
         */
        USER_SPACE_ON_USE,
        /**
         * Corresponds to value objectBoundingBox.
         */
        OBJECT_BOUNDING_BOX
    };
}