org.apache.batik.bridge
Interface ClipBridge

All Superinterfaces:
Bridge
All Known Implementing Classes:
SVGClipPathElementBridge

public interface ClipBridge
extends Bridge

Factory class for vending Shape objects that represents a clipping area.


Method Summary
 Clip createClip(BridgeContext ctx, GraphicsNode node, Element clipElement, Element clipedElement)
          Creates a Clip filter using the specified context and element.
 void update(BridgeMutationEvent evt)
          Updates an Element coresponding to the specified BridgeMutationEvent.
 

Method Detail

createClip

public Clip createClip(BridgeContext ctx,
                       GraphicsNode node,
                       Element clipElement,
                       Element clipedElement)
Creates a Clip filter using the specified context and element.
Parameters:
node - the GraphicsNode clipedNode
ctx - the context to use
clipElement - element containing the clip definition
clipedElement - the Element with the 'clip-path' attribute

update

public void update(BridgeMutationEvent evt)
Updates an Element coresponding to the specified BridgeMutationEvent.
Parameters:
evt - the event that describes the modification to perform


Copyright © 2000 Apache Software Foundation. All Rights Reserved.