summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java')
-rw-r--r--src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java76
1 files changed, 76 insertions, 0 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java
new file mode 100644
index 0000000..6b42e7b
--- /dev/null
+++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGComponentTransferFunctionElement.java
@@ -0,0 +1,76 @@
+/*
+ * SVGComponentTransferFunctionElement.java
+ *
+ * Created on April 13, 2007, 10:46 AM
+ *
+ * To change this template, choose Tools | Template Manager
+ * and open the template in the editor.
+ */
+
+package com.kitfox.salamander.svg.filter;
+
+import com.kitfox.salamander.svg.basic.SVGAnimatedEnumeration;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumber;
+import com.kitfox.salamander.svg.basic.SVGAnimatedNumberList;
+
+/**
+ * This interface defines a base interface used by the component transfer function interfaces.
+ * @author kitfox
+ */
+public interface SVGComponentTransferFunctionElement
+{
+ 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 identity.
+ */
+ IDENTITY,
+ /**
+ * Corresponds to value table.
+ */
+ TABLE,
+ /**
+ * Corresponds to value discrete.
+ */
+ DISCRETE,
+ /**
+ * Corresponds to value linear.
+ */
+ LINEAR,
+ /**
+ * Corresponds to value gamma.
+ */
+ GAMMA};
+ /**
+ * Corresponds to attribute type on the given element. Takes one of the Component Transfer Types.
+ */
+ public SVGAnimatedEnumeration<Type> getType();
+ /**
+ * Corresponds to attribute tableValues on the given element.
+ */
+ public SVGAnimatedNumberList getTableValues();
+ /**
+ * Corresponds to attribute slope on the given element.
+ */
+ public SVGAnimatedNumber getSlope();
+ /**
+ * Corresponds to attribute intercept on the given element.
+ */
+ public SVGAnimatedNumber getIntercept();
+ /**
+ * Corresponds to attribute amplitude on the given element.
+ */
+ public SVGAnimatedNumber getAmplitude();
+ /**
+ * Corresponds to attribute exponent on the given element.
+ */
+ public SVGAnimatedNumber getExponent();
+ /**
+ * Corresponds to attribute offset on the given element.
+ */
+ public SVGAnimatedNumber getOffset();
+}