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.SVGFESpotLightElement; 24 25 31 public class SVGOMFESpotLightElement 32 extends SVGOMElement 33 implements SVGFESpotLightElement { 34 35 38 protected SVGOMFESpotLightElement() { 39 } 40 41 46 public SVGOMFESpotLightElement(String prefix, 47 AbstractDocument owner) { 48 super(prefix, owner); 49 } 50 51 54 public String getLocalName() { 55 return SVG_FE_SPOT_LIGHT_TAG; 56 } 57 58 61 public SVGAnimatedNumber getX() { 62 return getAnimatedNumberAttribute(null, SVG_X_ATTRIBUTE, 0f); 63 } 64 65 68 public SVGAnimatedNumber getY() { 69 return getAnimatedNumberAttribute(null, SVG_Y_ATTRIBUTE, 0f); 70 } 71 72 75 public SVGAnimatedNumber getZ() { 76 return getAnimatedNumberAttribute(null, SVG_Z_ATTRIBUTE, 0f); 77 } 78 79 82 public SVGAnimatedNumber getPointsAtX() { 83 return getAnimatedNumberAttribute(null, SVG_POINTS_AT_X_ATTRIBUTE, 0f); 84 } 85 86 89 public SVGAnimatedNumber getPointsAtY() { 90 return getAnimatedNumberAttribute(null, SVG_POINTS_AT_Y_ATTRIBUTE, 0f); 91 } 92 93 96 public SVGAnimatedNumber getPointsAtZ() { 97 return getAnimatedNumberAttribute(null, SVG_POINTS_AT_Z_ATTRIBUTE, 0f); 98 } 99 100 104 public SVGAnimatedNumber getSpecularExponent() { 105 return getAnimatedNumberAttribute 106 (null, SVG_SPECULAR_EXPONENT_ATTRIBUTE, 1f); 107 } 108 109 113 public SVGAnimatedNumber getLimitingConeAngle() { 114 return getAnimatedNumberAttribute 115 (null, SVG_LIMITING_CONE_ANGLE_ATTRIBUTE, 0f); 116 } 117 118 121 protected Node newNode() { 122 return new SVGOMFESpotLightElement(); 123 } 124 } 125 | Popular Tags |