Package com.airbnb.lottie
Class FontAssetDelegate
- java.lang.Object
-
- com.airbnb.lottie.FontAssetDelegate
-
public class FontAssetDelegate extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description FontAssetDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypefacefetchFont(String fontFamily)Override this if you want to return a Typeface from a font family.StringgetFontPath(String fontFamily)Override this if you want to specify the asset path for a given font family.
-