Class BatikUserAgent

  • All Implemented Interfaces:
    org.apache.batik.bridge.UserAgent

    public class BatikUserAgent
    extends org.apache.batik.bridge.UserAgentAdapter
    SVG renderer implementation based on Batik.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static float PIXEL_TO_MM_72_DPI  
      static float PIXEL_TO_MM_96_DPI  
      • Fields inherited from class org.apache.batik.bridge.UserAgentAdapter

        ctx, extensions, FEATURES
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()  
      float getPixelUnitToMillimeter()  
      • Methods inherited from class org.apache.batik.bridge.UserAgentAdapter

        addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, displayError, displayError, displayMessage, getAlternateStyleSheet, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLanguages, getLighterFontWeight, getMedia, getMediumFontSize, getPixelToMM, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, handleElement, hasFeature, isXMLParserValidating, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, setTransform, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
    • Constructor Detail

      • BatikUserAgent

        public BatikUserAgent​(org.apache.batik.bridge.FontFamilyResolver fontFamilyResolver,
                              float pixel2mm)
    • Method Detail

      • getPixelUnitToMillimeter

        public float getPixelUnitToMillimeter()
        Specified by:
        getPixelUnitToMillimeter in interface org.apache.batik.bridge.UserAgent
        Overrides:
        getPixelUnitToMillimeter in class org.apache.batik.bridge.UserAgentAdapter
      • getFontFamilyResolver

        public org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()
        Specified by:
        getFontFamilyResolver in interface org.apache.batik.bridge.UserAgent
        Overrides:
        getFontFamilyResolver in class org.apache.batik.bridge.UserAgentAdapter