1 18 package org.apache.batik.dom.svg; 19 20 import org.apache.batik.dom.AbstractDocument; 21 import org.w3c.dom.Node ; 22 import org.w3c.dom.svg.SVGAnimatedNumber; 23 import org.w3c.dom.svg.SVGAnimatedString; 24 import org.w3c.dom.svg.SVGFEGaussianBlurElement; 25 26 32 public class SVGOMFEGaussianBlurElement 33 extends SVGOMFilterPrimitiveStandardAttributes 34 implements SVGFEGaussianBlurElement { 35 36 39 protected SVGOMFEGaussianBlurElement() { 40 } 41 42 47 public SVGOMFEGaussianBlurElement(String prefix, AbstractDocument owner) { 48 super(prefix, owner); 49 } 50 51 54 public String getLocalName() { 55 return SVG_FE_GAUSSIAN_BLUR_TAG; 56 } 57 58 61 public SVGAnimatedString getIn1() { 62 return getAnimatedStringAttribute(null, SVG_IN_ATTRIBUTE); 63 } 64 65 69 public SVGAnimatedNumber getStdDeviationX() { 70 throw new RuntimeException ("!!! TODO: getStdDeviationX"); 71 } 72 73 77 public SVGAnimatedNumber getStdDeviationY() { 78 throw new RuntimeException ("!!! TODO: getStdDeviationY"); 79 } 80 81 85 public void setStdDeviation (float devX, float devY) { 86 setAttributeNS(null, SVG_STD_DEVIATION_ATTRIBUTE, 87 Float.toString(devX) + " " + Float.toString(devY)); 88 } 89 90 93 protected Node newNode() { 94 return new SVGOMFEGaussianBlurElement(); 95 } 96 } 97 | Popular Tags |