TextRunProperties Class

Provides a set of properties, such as typeface or foreground brush, that can be applied to a TextRun object. This is an abstract class.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract class TextRunProperties : IEquatable<TextRunProperties>
Inheritance
Object    TextRunProperties
Derived
Implements
IEquatableTextRunProperties

Remarks

The text layout client provides a concrete implementation of this abstract class. This enables the client to implement text run properties in a way that corresponds with the associated formatting store.

Properties

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

Methods

Equals(Object)
(Overrides ObjectEquals(Object))
Equals(TextRunProperties) 
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Operators

See Also