public IFormattedTextImpl CreateFormattedText( string text, Typeface typeface, double fontSize, TextAlignment textAlignment, TextWrapping wrapping, Size constraint, IReadOnlyList <FormattedTextStyleSpan> spans) { return(new FormattedTextImpl( text, typeface, fontSize, textAlignment, wrapping, constraint, spans)); }
internal static CSharpMathTextAlignment ToCSharpMathTextAlignment(this AvaloniaTextAlignment alignment) => alignment switch {