Constructors
constructor
- new Font(family: string, size: number, style: FontStyle, weight: FontWeight): Font
-
Parameters
-
family: string
-
size: number
-
style: FontStyle
-
weight: FontWeight
Properties
fontFamily
fontFamily: string
fontSize
fontSize: number
fontStyle
fontStyle: FontStyle
fontWeight
fontWeight: FontWeight
isItalic
isItalic: boolean
Methods
getAndroidTypeface
- getAndroidTypeface(): any
getUIFont
- getUIFont(defaultFont: any): any
withFontFamily
- withFontFamily(family: string): Font
withFontSize
- withFontSize(size: number): Font
withFontStyle
- withFontStyle(style: string): Font
withFontWeight
- withFontWeight(weight: string): Font
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