1 | import { Font as FontBase } from './font-common';
|
2 | import { FontStyleType, FontWeightType, FontVariationSettingsType } from './font-interfaces';
|
3 | export * from './font-common';
|
4 | export declare class Font extends FontBase {
|
5 | static default: Font;
|
6 | private _typeface;
|
7 | withFontFamily(family: string): Font;
|
8 | withFontStyle(style: FontStyleType): Font;
|
9 | withFontWeight(weight: FontWeightType): Font;
|
10 | withFontSize(size: number): Font;
|
11 | withFontScale(scale: number): Font;
|
12 | withFontVariationSettings(variationSettings: Array<FontVariationSettingsType> | null): Font;
|
13 | getAndroidTypeface(): android.graphics.Typeface;
|
14 | getUIFont(defaultFont: UIFont): UIFont;
|
15 | }
|