org.apache.batik.bridge

Class SVGClipPathElementBridge

public class SVGClipPathElementBridge extends AnimatableGenericSVGBridge implements ClipBridge

Bridge class for the <clipPath> element.
Constructor Summary
SVGClipPathElementBridge()
Constructs a new bridge for the <clipPath> element.
Method Summary
ClipRablecreateClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode)
Creates a Clip according to the specified parameters.
StringgetLocalName()
Returns 'clipPath'.

Constructor Detail

SVGClipPathElementBridge

public SVGClipPathElementBridge()
Constructs a new bridge for the <clipPath> element.

Method Detail

createClip

public ClipRable createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode)
Creates a Clip according to the specified parameters.

Parameters: ctx the bridge context to use clipElement the element that defines the clip clipedElement the element that references the clip element clipedNode the graphics node to clip

getLocalName

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