org.apache.batik.bridge

Class SVGMaskElementBridge

public class SVGMaskElementBridge extends AnimatableGenericSVGBridge implements MaskBridge

Bridge class for the <mask> element.
Constructor Summary
SVGMaskElementBridge()
Constructs a new bridge for the <mask> element.
Method Summary
MaskcreateMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode)
Creates a Mask according to the specified parameters.
StringgetLocalName()
Returns 'mask'.

Constructor Detail

SVGMaskElementBridge

public SVGMaskElementBridge()
Constructs a new bridge for the <mask> element.

Method Detail

createMask

public Mask createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode)
Creates a Mask according to the specified parameters.

Parameters: ctx the bridge context to use maskElement the element that defines the mask maskedElement the element that references the mask element maskedNode the graphics node to mask

getLocalName

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