Class ShadowFontFamily

java.lang.Object
org.robolectric.shadows.ShadowFontFamily

@Implements(value=android.graphics.FontFamily.class, isInAndroidSdk=false) public class ShadowFontFamily extends Object
  • Constructor Details

    • ShadowFontFamily

      public ShadowFontFamily()
  • Method Details

    • nInitBuilder

      @Implementation(minSdk=26) protected static long nInitBuilder(String lang, int variant)
    • abortCreation

      @Implementation(minSdk=26) protected void abortCreation()
    • addFontFromAssetManager

      @Implementation(minSdk=26) protected boolean addFontFromAssetManager(AssetManager mgr, String path, int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic, FontVariationAxis[] axes)
    • freeze

      @Implementation(minSdk=26) protected boolean freeze()