From da3090bc6de061f2b611138a9fbfe6f2db477cfc Mon Sep 17 00:00:00 2001 From: kitfox Date: Fri, 13 Apr 2007 15:37:54 +0000 Subject: Added filter interfaces. git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@23 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b --- .../svg/filter/SVGFEMorphologyElement.java | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java (limited to 'src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java') diff --git a/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java new file mode 100644 index 0000000..01eafd2 --- /dev/null +++ b/src/main/java/com/kitfox/salamander/svg/filter/SVGFEMorphologyElement.java @@ -0,0 +1,54 @@ +/* + * SVGFEMorphologyElement.java + * + * Created on April 13, 2007, 11:20 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.SVGAnimatedString; +import com.kitfox.salamander.svg.basic.SVGElement; + +/** + * The SVGFEMorphologyElement interface corresponds to the 'feMorphology' element. + * @author kitfox + */ +public interface SVGFEMorphologyElement extends SVGElement, + SVGFilterPrimitiveStandardAttributes +{ + public static enum Operator + { + /** + * 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 erode. + */ + ERODE, + /** + * Corresponds to value dilate. + */ + DILATE}; + /** + * Corresponds to attribute in on the given 'feMorphology' element. + */ + public SVGAnimatedString getIn1(); + /** + * Corresponds to attribute operator on the given 'feMorphology' element. Takes one of the Morphology Operators. + */ + public SVGAnimatedEnumeration getOperator(); + /** + * Corresponds to attribute radiusX on the given 'feMorphology' element. + */ + public SVGAnimatedNumber getRadiusX(); + /** + * Corresponds to attribute radiusY on the given 'feMorphology' element. + */ + public SVGAnimatedNumber getRadiusY(); +} -- cgit v1.2.3-55-g7522