Interface AndroidFontInfo

Only supported on Android.

Hierarchy

  • AndroidFontInfo

Properties

isCustom?: boolean

Whether to use a custom font. Defaults to false.

typefaceName?: string

The Android system typeface name, such as "DEFAULT", "DEFAULT_BOLD", "SANS_SERIF", "SERIF", "MONOSPACE". Or custom font name, such as: "fonts/kaushanscript_regular.ttf". (You need to set the isCustom=true and put the font file in the "assets" directory: app/src/main/assets/fonts/kaushanscript_regular.ttf)

Generated using TypeDoc