MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / withFontFamily

Method withFontFamily

packages/core/ui/styling/font.ios.ts:76–78  ·  view source on GitHub ↗
(family: string)

Source from the content-addressed store, hash-verified

74 }
75
76 public withFontFamily(family: string): Font {
77 return new Font(family, this.fontSize, this.fontStyle, this.fontWeight, this.fontScale, this.fontVariationSettings);
78 }
79
80 public withFontStyle(style: FontStyleType): Font {
81 return new Font(this.fontFamily, this.fontSize, style, this.fontWeight, this.fontScale, this.fontVariationSettings);

Callers 4

createTabItemSpecFunction · 0.45
_getIconMethod · 0.45
testLoadFromFontIconCodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected