Class SVGMarkerElementBridge

    • Constructor Detail

      • SVGMarkerElementBridge

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

      • getLocalName

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

        public Marker createMarker​(BridgeContext ctx,
                                   org.w3c.dom.Element markerElement,
                                   org.w3c.dom.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