We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Entity which defines font parameters. Includes font, color, size, letter spacing, line height.
UIFont Font - font style's font.
Typeface Typeface - font style's font.
UIColor Color Color - font style's color.
float Size - font style's size.
float LetterSpacing - font style's letter spacing
float LineHeight - font style's line height.
Under the hood Font style set native fields of text, buttons, etc.
Implementation looks like:
base.Typeface = FontStyle.Typeface; base.TextSize = FontStyle.Size; base.SetTextColor(FontStyle.Color); base.LetterSpacing = FontStyle.LetterSpacing;
base.Font = this.Font.WithSize(TextSize); this.SetTextSize(TextSize); base.TextColor = this.TextColor; this.SetLetterSpacing(LetterSpacing);
SetTextSize and SetLetterSpacing set AttributedString with FontSize and KerningAdjustment.