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.SVGFEDistantLightElement; 24 25 31 public class SVGOMFEDistantLightElement 32 extends SVGOMElement 33 implements SVGFEDistantLightElement { 34 35 38 protected SVGOMFEDistantLightElement() { 39 } 40 41 46 public SVGOMFEDistantLightElement(String prefix, 47 AbstractDocument owner) { 48 super(prefix, owner); 49 } 50 51 54 public String getLocalName() { 55 return SVG_FE_DISTANT_LIGHT_TAG; 56 } 57 58 61 public SVGAnimatedNumber getAzimuth() { 62 return getAnimatedNumberAttribute(null, SVG_AZIMUTH_ATTRIBUTE, 0f); 63 } 64 65 68 public SVGAnimatedNumber getElevation() { 69 return getAnimatedNumberAttribute(null, SVG_ELEVATION_ATTRIBUTE, 0f); 70 } 71 72 75 protected Node newNode() { 76 return new SVGOMFEDistantLightElement(); 77 } 78 } 79 | Popular Tags |