GenericTextRunProperties Class
Definition
Generic implementation of TextRunProperties
public class GenericTextRunProperties
Constructors
| Name | Description |
|---|---|
| GenericTextRunProperties | No summary available. |
GenericTextRunProperties Constructor
public GenericTextRunProperties(Avalonia.Media.Typeface typeface, double fontRenderingEmSize, Avalonia.Media.TextDecorationCollection textDecorations, Avalonia.Media.IBrush foregroundBrush, Avalonia.Media.IBrush backgroundBrush, Avalonia.Media.BaselineAlignment baselineAlignment, System.Globalization.CultureInfo cultureInfo, Avalonia.Media.FontFeatureCollection fontFeatures)
Parameters
typeface Avalonia.Media.Typeface
fontRenderingEmSize double
textDecorations Avalonia.Media.TextDecorationCollection
foregroundBrush Avalonia.Media.IBrush
backgroundBrush Avalonia.Media.IBrush
baselineAlignment Avalonia.Media.BaselineAlignment
cultureInfo System.Globalization.CultureInfo
fontFeatures Avalonia.Media.FontFeatureCollection
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | Inherited from TextRunProperties. |
| GetHashCode | Inherited from TextRunProperties. |
Properties
| Name | Description |
|---|---|
| BackgroundBrush | Brush used to paint background of run. |
| BaselineAlignment | Run vertical box alignment |
| CultureInfo | Run text culture. |
| FontFeatures | Optional features of used font. |
| FontRenderingEmSize | Em size of font used to format and display text |
| ForegroundBrush | Brush used to fill text. |
| TextDecorations | Run TextDecorations. |
| Typeface | Run typeface |
BackgroundBrush Property
Brush used to paint background of run.
public Avalonia.Media.IBrush BackgroundBrush { get; set; }
BaselineAlignment Property
Run vertical box alignment
public Avalonia.Media.BaselineAlignment BaselineAlignment { get; set; }
CultureInfo Property
Run text culture.
public System.Globalization.CultureInfo CultureInfo { get; set; }
FontFeatures Property
Optional features of used font.
public Avalonia.Media.FontFeatureCollection FontFeatures { get; set; }
FontRenderingEmSize Property
Em size of font used to format and display text
public double FontRenderingEmSize { get; set; }
ForegroundBrush Property
Brush used to fill text.
public Avalonia.Media.IBrush ForegroundBrush { get; set; }
TextDecorations Property
Run TextDecorations.
public Avalonia.Media.TextDecorationCollection TextDecorations { get; set; }
Typeface Property
Run typeface
public Avalonia.Media.Typeface Typeface { get; set; }