Constructors
constructor
-
Parameters
-
family: string
-
size: number
-
-
Properties
fontFamily
fontFamily: string
fontSize
fontSize: number
fontStyle
fontWeight
isBold
isBold: boolean
isItalic
isItalic: boolean
Static default
Methods
getAndroidTypeface
- getAndroidTypeface(): any
-
Returns any
getUIFont
- getUIFont(defaultFont: any): any
-
Parameters
Returns any
withFontFamily
- withFontFamily(family: string): Font
-
Parameters
withFontSize
- withFontSize(size: number): Font
-
Parameters
withFontStyle
- withFontStyle(style: string): Font
-
Parameters
withFontWeight
- withFontWeight(weight: string): Font
-
Parameters
Static equals
- equals(value1: Font, value2: Font): boolean
-
Parameters
Returns 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