org.apache.batik.bridge
Interface MaskBridge

All Superinterfaces:
Bridge
All Known Implementing Classes:
SVGMaskElementBridge

public interface MaskBridge
extends Bridge

Factory class for vending Mask objects.


Method Summary
 Mask createMask(BridgeContext ctx, Element maskElement, Element maskedElement, GraphicsNode maskedNode)
          Creates a Mask according to the specified parameters.
 void update(BridgeMutationEvent evt)
          Updates the Mask object to reflect the current configuration in the Element that models the mask.
 
Methods inherited from interface org.apache.batik.bridge.Bridge
getLocalName, getNamespaceURI
 

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

update

public void update(BridgeMutationEvent evt)
Updates the Mask object to reflect the current configuration in the Element that models the mask.
Parameters:
evt - the event that describes the modification to perform


Copyright © 2001 Apache Software Foundation. All Rights Reserved.