Skip to content

Commit

Permalink
Remove duplicate WithTypeface helper
Browse files Browse the repository at this point in the history
  • Loading branch information
Gillibald committed Feb 1, 2022
1 parent e190f91 commit eec8721
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,5 @@ public GenericTextRunProperties(Typeface typeface, double fontRenderingEmSize =

/// <inheritdoc />
public override CultureInfo? CultureInfo { get; }

internal GenericTextRunProperties WithTypeface(Typeface typeface)
{
return new GenericTextRunProperties(typeface, FontRenderingEmSize, TextDecorations, ForegroundBrush,
BackgroundBrush, BaselineAlignment, CultureInfo);
}
}
}

0 comments on commit eec8721

Please sign in to comment.