Class SVGClipPathElementBridge

All Implemented Interfaces:
SVGAnimationTargetContext, Bridge, BridgeUpdateHandler, ClipBridge, GenericBridge, XMLConstants, SVGContext, CSSConstants, SVGConstants

public class SVGClipPathElementBridge extends AnimatableGenericSVGBridge implements ClipBridge
Bridge class for the <clipPath> element.
  • Constructor Details

    • SVGClipPathElementBridge

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

    • getLocalName

      public String getLocalName()
      Returns 'clipPath'.
      Specified by:
      getLocalName in interface Bridge
    • createClip

      public ClipRable createClip(BridgeContext ctx, Element clipElement, Element clipedElement, GraphicsNode clipedNode)
      Creates a Clip according to the specified parameters.
      Specified by:
      createClip in interface ClipBridge
      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