Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Font

Hierarchy

  • Font

Index

Constructors

constructor

  • new Font(family: string, size: number, style: FontStyle, weight: FontWeight): Font

Properties

fontFamily

fontFamily: string

fontScale

fontScale: number

fontSize

fontSize: number

fontStyle

fontStyle: FontStyle

fontWeight

fontWeight: FontWeight

isBold

isBold: boolean

isItalic

isItalic: boolean

Static default

default: Font

Methods

getAndroidTypeface

  • getAndroidTypeface(): any

getUIFont

  • getUIFont(defaultFont: any): any

withFontFamily

  • withFontFamily(family: string): Font

withFontScale

  • withFontScale(scale: number): Font

withFontSize

  • withFontSize(size: number): Font

withFontStyle

  • withFontStyle(style: string): Font

withFontWeight

  • withFontWeight(weight: string): Font

Static equals

  • equals(value1: Font, value2: Font): boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method