(family: string, size: number, style?: FontStyleType, weight?: FontWeightType, scale?: number, variationSettings?: Array<FontVariationSettingsType>)
| 70 | static default = new Font(undefined, undefined); |
| 71 | |
| 72 | constructor(family: string, size: number, style?: FontStyleType, weight?: FontWeightType, scale?: number, variationSettings?: Array<FontVariationSettingsType>) { |
| 73 | super(family, size, style, weight, scale, variationSettings); |
| 74 | } |
| 75 | |
| 76 | public withFontFamily(family: string): Font { |
| 77 | return new Font(family, this.fontSize, this.fontStyle, this.fontWeight, this.fontScale, this.fontVariationSettings); |
nothing calls this directly
no outgoing calls
no test coverage detected