Constructors
constructor
- new Font(name, options?): Font
Parameters
- name: string
Optionaloptions: {
size?: number;
style?: FontStyle;
}
Properties
Readonlyname
name: string
Optional Readonlysize
size?: number
Optional Readonlystyle
Methods
StaticfromJson
- fromJson(jsonObject): Font
Font family.
Beware that Android and iOS have diffrent font names, so you will have to use if condition.