MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / withFontSize

Method withFontSize

packages/core/ui/styling/font.ios.ts:88–90  ·  view source on GitHub ↗
(size: number)

Source from the content-addressed store, hash-verified

86 }
87
88 public withFontSize(size: number): Font {
89 return new Font(this.fontFamily, size, this.fontStyle, this.fontWeight, this.fontScale, this.fontVariationSettings);
90 }
91
92 public withFontScale(scale: number): Font {
93 return new Font(this.fontFamily, this.fontSize, this.fontStyle, this.fontWeight, scale, this.fontVariationSettings);

Calls

no outgoing calls

Tested by

no test coverage detected