-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PaywallFont.ResourceFont extends PaywallFont
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerresourceIdprivate final FontWeightfontWeightprivate final IntegerfontStyle
-
Constructor Summary
Constructors Constructor Description PaywallFont.ResourceFont(Integer resourceId, FontWeight fontWeight, Integer fontStyle)
-
Method Summary
Modifier and Type Method Description final IntegergetResourceId()The resource ID of the font file in font resources. final FontWeightgetFontWeight()The weight of the font. final IntegergetFontStyle()The style of the font, normal or italic. -
-
Method Detail
-
getResourceId
final Integer getResourceId()
The resource ID of the font file in font resources.
-
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.
-
-
-
-