( public readonly fontFamily: string, public readonly fontSize: number, fontStyle?: FontStyleType, fontWeight?: FontWeightType, fontScale?: number, public readonly fontVariationSettings?: Array<FontVariationSettingsType>, )
| 20 | } |
| 21 | |
| 22 | protected constructor( |
| 23 | public readonly fontFamily: string, |
| 24 | public readonly fontSize: number, |
| 25 | fontStyle?: FontStyleType, |
| 26 | fontWeight?: FontWeightType, |
| 27 | fontScale?: number, |
| 28 | public readonly fontVariationSettings?: Array<FontVariationSettingsType>, |
| 29 | ) { |
| 30 | this.fontStyle = fontStyle ?? FontStyle.NORMAL; |
| 31 | this.fontWeight = fontWeight ?? FontWeight.NORMAL; |
| 32 | this.fontScale = fontScale ?? 1; |
| 33 | } |
| 34 | |
| 35 | public abstract getAndroidTypeface(): any; /* android.graphics.Typeface */ |
| 36 | public abstract getUIFont(defaultFont: any /* UIFont */): any; /* UIFont */ |
nothing calls this directly
no outgoing calls
no test coverage detected