TextShaperOptions Struct
Definition
Options to customize text shaping.
public struct TextShaperOptions
Constructors
| Name | Description |
|---|---|
| TextShaperOptions | No summary available. |
TextShaperOptions Constructor
public TextShaperOptions(Avalonia.Media.GlyphTypeface typeface, double fontRenderingEmSize, sbyte bidiLevel, System.Globalization.CultureInfo culture, double incrementalTabWidth, double letterSpacing, System.Collections.Generic.IReadOnlyList<Avalonia.Media.FontFeature> fontFeatures)
Parameters
typeface Avalonia.Media.GlyphTypeface
fontRenderingEmSize double
bidiLevel sbyte
culture System.Globalization.CultureInfo
incrementalTabWidth double
letterSpacing double
fontFeatures System.Collections.Generic.IReadOnlyList<Avalonia.Media.FontFeature>
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.TextFormatting.TextShaperOptions other)
Parameters
other Avalonia.Media.TextFormatting.TextShaperOptions
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| BidiLevel | Get the bidi level of the text. |
| Culture | Get the culture. |
| FontFeatures | Get features. |
| FontRenderingEmSize | Get the font rendering em size. |
| GlyphTypeface | Get the typeface. |
| IncrementalTabWidth | Get the incremental tab width. |
| LetterSpacing | Get the letter spacing. |
BidiLevel Property
Get the bidi level of the text.
public sbyte BidiLevel { get; set; }
Culture Property
Get the culture.
public System.Globalization.CultureInfo Culture { get; set; }
FontFeatures Property
Get features.
public System.Collections.Generic.IReadOnlyList<Avalonia.Media.FontFeature> FontFeatures { get; set; }
FontRenderingEmSize Property
Get the font rendering em size.
public double FontRenderingEmSize { get; set; }
GlyphTypeface Property
Get the typeface.
public Avalonia.Media.GlyphTypeface GlyphTypeface { get; set; }
IncrementalTabWidth Property
Get the incremental tab width.
public double IncrementalTabWidth { get; set; }
LetterSpacing Property
Get the letter spacing.
public double LetterSpacing { get; set; }