Class SVGMarkerElementBridge

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

public class SVGMarkerElementBridge extends AnimatableGenericSVGBridge implements MarkerBridge, ErrorConstants
Bridge class for the <marker> element.
  • Constructor Details

    • SVGMarkerElementBridge

      protected SVGMarkerElementBridge()
      Constructs a new bridge for the <marker> element.
  • Method Details

    • getLocalName

      public String getLocalName()
      Returns 'marker'.
      Specified by:
      getLocalName in interface Bridge
    • createMarker

      public Marker createMarker(BridgeContext ctx, Element markerElement, Element paintedElement)
      Creates a Marker according to the specified parameters.
      Specified by:
      createMarker in interface MarkerBridge
      Parameters:
      ctx - the bridge context to use
      markerElement - the element that represents the marker
      paintedElement - the element that references the marker element