org.apache.batik.bridge

Class AbstractSVGGradientElementBridge.SVGStopElementBridge

public static class AbstractSVGGradientElementBridge.SVGStopElementBridge extends AnimatableGenericSVGBridge implements Bridge

Bridge class for the gradient <stop> element.
Method Summary
AbstractSVGGradientElementBridge.StopcreateStop(BridgeContext ctx, Element gradientElement, Element stopElement, float opacity)
Creates a Stop according to the specified parameters.
StringgetLocalName()
Returns 'stop'.

Method Detail

createStop

public AbstractSVGGradientElementBridge.Stop createStop(BridgeContext ctx, Element gradientElement, Element stopElement, float opacity)
Creates a Stop according to the specified parameters.

Parameters: ctx the bridge context to use gradientElement the gradient element stopElement the stop element opacity an additional opacity of the stop color

getLocalName

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