Class SVGFontFaceElementBridge

    • Constructor Detail

      • SVGFontFaceElementBridge

        public SVGFontFaceElementBridge()
        Constructs a new bridge for the <font-face> element.
    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
        Returns 'font-face'.
        Specified by:
        getLocalName in interface Bridge
      • createFontFace

        public SVGFontFace createFontFace​(BridgeContext ctx,
                                          org.w3c.dom.Element fontFaceElement)
        Creates an SVGFontFace that repesents the specified <font-face> element.
        Parameters:
        ctx - The current bridge context.
        fontFaceElement - The <font-face> element.
        Returns:
        A new SVGFontFace.
      • getFontFaceSrcs

        public java.util.List getFontFaceSrcs​(org.w3c.dom.Element fontFaceElement)
        the returned list may contain Strings and ParsedURLs