summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/basic
diff options
context:
space:
mode:
authorkitfox2007-04-13 16:33:10 +0200
committerkitfox2007-04-13 16:33:10 +0200
commit29c5d1fc53511b84b3f732304317f90cdbb003ae (patch)
tree7b4dbb92bc73c90698b39cf72d037bef5be4c4a9 /src/main/java/com/kitfox/salamander/svg/basic
parentFixed bad imports. (diff)
downloadsvg-salamander-core-29c5d1fc53511b84b3f732304317f90cdbb003ae.tar.gz
svg-salamander-core-29c5d1fc53511b84b3f732304317f90cdbb003ae.tar.xz
svg-salamander-core-29c5d1fc53511b84b3f732304317f90cdbb003ae.zip
Added text and formatting interfaces.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@22 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/basic')
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java55
-rwxr-xr-xsrc/main/java/com/kitfox/salamander/svg/basic/SVGUnitTypes.java29
2 files changed, 45 insertions, 39 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java b/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java
index b745d04..9d54fa4 100755
--- a/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java
+++ b/src/main/java/com/kitfox/salamander/svg/basic/SVGRenderingIntent.java
@@ -10,34 +10,37 @@
package com.kitfox.salamander.svg.basic;
/**
- *
+ *
* The SVGRenderingIntent interface defines the enumerated list of possible values for 'rendering-intent' attributes or descriptors.
* @author kitfox
*/
-public enum SVGRenderingIntent
+public interface SVGRenderingIntent
{
- /**
- * 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 a value of auto.
- */
- AUTO,
- /**
- * Corresponds to a value of perceptual.
- */
- PERCEPTUAL,
- /**
- * Corresponds to a value of relative-colorimetric.
- */
- RELATIVE_COLORIMETRIC,
- /**
- * Corresponds to a value of saturation.
- */
- SATURATION,
- /**
- * Corresponds to a value of absolute-colorimetric.
- */
- ABSOLUTE_COLORIMETRIC
+ public static enum Intent
+ {
+ /**
+ * 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 a value of auto.
+ */
+ AUTO,
+ /**
+ * Corresponds to a value of perceptual.
+ */
+ PERCEPTUAL,
+ /**
+ * Corresponds to a value of relative-colorimetric.
+ */
+ RELATIVE_COLORIMETRIC,
+ /**
+ * Corresponds to a value of saturation.
+ */
+ SATURATION,
+ /**
+ * Corresponds to a value of absolute-colorimetric.
+ */
+ ABSOLUTE_COLORIMETRIC
+ }
}
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
+ };
}