Constructors

Properties

Methods

Constructors

  • Parameters

    • name: string
    • Optionaloptions: {
          size?: number;
          style?: FontStyle;
      }
      • Optionalsize?: number
      • Optionalstyle?: FontStyle

    Returns Font

Properties

name: string

Font family.

Beware that Android and iOS have diffrent font names, so you will have to use if condition.

size?: number

Font size.

style?: FontStyle

Font style.

Android only.

Methods

  • Allows you to deserialize object.

    Parameters

    • jsonObject: any

    Returns Font