diff options
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java')
-rwxr-xr-x | src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java index 58d9f1d..7d3680d 100755 --- a/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java +++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java @@ -13,18 +13,21 @@ 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 enum SVGUnitTypes
+public interface SVGUnitTypes
{
- /**
- * 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
+ 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
+ };
}
|