GenericTextRunProperties Class
Generic implementation of TextRunProperties
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class GenericTextRunProperties : TextRunProperties
Public Class GenericTextRunProperties
Inherits TextRunProperties
type GenericTextRunProperties =
class
inherit TextRunProperties
end
| Inheritance | Object → TextRunProperties → GenericTextRunProperties |
Constructors
| GenericTextRunProperties(Typeface, Double, TextDecorationCollection, IBrush, IBrush, BaselineAlignment, CultureInfo) | Initializes a new instance of the GenericTextRunProperties class |
| GenericTextRunProperties(Typeface, FontFeatureCollection, Double, TextDecorationCollection, IBrush, IBrush, BaselineAlignment, CultureInfo) | Initializes a new instance of the GenericTextRunProperties class |
Properties
| BackgroundBrush | Brush used to paint background of run. (Overrides TextRunProperties.BackgroundBrush) |
| BaselineAlignment | Run vertical box alignment (Overrides TextRunProperties.BaselineAlignment) |
| CultureInfo | Run text culture. (Overrides TextRunProperties.CultureInfo) |
| FontFeatures | Optional features of used font. (Overrides TextRunProperties.FontFeatures) |
| FontRenderingEmSize | Em size of font used to format and display text (Overrides TextRunProperties.FontRenderingEmSize) |
| ForegroundBrush | Brush used to fill text. (Overrides TextRunProperties.ForegroundBrush) |
| TextDecorations | Run TextDecorations. (Overrides TextRunProperties.TextDecorations) |
| Typeface | Run typeface (Overrides TextRunProperties.Typeface) |
Methods
| Equals(Object) | (Inherited from TextRunProperties) |
| Equals(TextRunProperties) | (Inherited from TextRunProperties) |
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode() | (Inherited from TextRunProperties) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |