org.apache.batik.bridge

Class AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge

public static class AbstractSVGLightingElementBridge.SVGFeSpotLightElementBridge extends AbstractSVGLightingElementBridge.AbstractSVGLightElementBridge

Bridge class for the <feSpotLight> element.
Constructor Summary
SVGFeSpotLightElementBridge()
Constructs a new bridge for a light element.
Method Summary
LightcreateLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
Creates a Light according to the specified parameters.
StringgetLocalName()
Returns 'feSpotLight'.

Constructor Detail

SVGFeSpotLightElementBridge

public SVGFeSpotLightElementBridge()
Constructs a new bridge for a light element.

Method Detail

createLight

public Light createLight(BridgeContext ctx, Element filterElement, Element lightElement, Color color)
Creates a Light according to the specified parameters.

Parameters: ctx the bridge context to use filterElement the lighting filter primitive element lightElement the element describing a light color the color of the light

getLocalName

public String getLocalName()
Returns 'feSpotLight'.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.