Package 

Class PaywallFont.ResourceFont

    • Method Summary

      Modifier and Type Method Description
      final Integer getResourceId() The resource ID of the font file in font resources.
      final FontWeight getFontWeight() The weight of the font.
      final Integer getFontStyle() The style of the font, normal or italic.
      • Methods inherited from class com.revenuecat.purchases.ui.revenuecatui.fonts.PaywallFont

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PaywallFont.ResourceFont

        PaywallFont.ResourceFont(Integer resourceId, FontWeight fontWeight, Integer fontStyle)
    • Method Detail

      • getFontWeight

         final FontWeight getFontWeight()

        The weight of the font. The system uses this to match a font to a font request.

      • getFontStyle

         final Integer getFontStyle()

        The style of the font, normal or italic. The system uses this to match a font to a font request. We use int instead of FontStyle because FontStyle is not compatible with Java.