Package 

Class FontAssetDelegate


  • 
    public class FontAssetDelegate
    
                        

    Delegate to handle the loading of fonts that are not packaged in the assets of your app or don't have the same file name.

    • Method Summary

      Modifier and Type Method Description
      Typeface fetchFont(String fontFamily) Override this if you want to return a Typeface from a font family.
      Typeface fetchFont(String fontFamily, String fontStyle, String fontName) Override this if you want to return a Typeface from a font family and style.
      String getFontPath(String fontFamily) Override this if you want to specify the asset path for a given font family.
      String getFontPath(String fontFamily, String fontStyle, String fontName) Override this if you want to specify the asset path for a given font family and style.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait