Skip to main content

TextFormatter Class

Represents a base class for text formatting.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public abstract class TextFormatter
View Source
InheritanceObject → TextFormatter

Constructors

TextFormatter()Initializes a new instance of the TextFormatter class

Properties

CurrentGets the current TextFormatter that is used for non complex text formatting.

Methods

CreateSymbol(TextRun, FlowDirection)Creates a shaped symbol.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FormatLine(ITextSource, Int32, Double, TextParagraphProperties, TextLineBreak)Formats a text line.
GetHashCode()Serves as the default hash function.
(Inherited from Object)
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)

See Also

Reference

Avalonia.Media.TextFormatting Namespace