Class SVGFontFace

    • Field Detail

      • fontFaceElement

        org.w3c.dom.Element fontFaceElement
    • Constructor Detail

      • SVGFontFace

        public SVGFontFace​(org.w3c.dom.Element fontFaceElement,
                           java.util.List srcs,
                           java.lang.String familyName,
                           float unitsPerEm,
                           java.lang.String fontWeight,
                           java.lang.String fontStyle,
                           java.lang.String fontVariant,
                           java.lang.String fontStretch,
                           float slope,
                           java.lang.String panose1,
                           float ascent,
                           float descent,
                           float strikethroughPosition,
                           float strikethroughThickness,
                           float underlinePosition,
                           float underlineThickness,
                           float overlinePosition,
                           float overlineThickness)
        Constructes an SVGFontFace with the specfied font-face attributes.
    • Method Detail

      • getFontFaceElement

        public org.w3c.dom.Element getFontFaceElement()
      • getBaseElement

        protected org.w3c.dom.Element getBaseElement​(BridgeContext ctx)
        Default implementation uses the root element of the document associated with BridgeContext. This is useful for CSS case.
        Overrides:
        getBaseElement in class FontFace