Table of Contents

Namespace Avalonia.Media.TextFormatting

Classes

DrawableTextRun

A text run that supports drawing content.

GenericTextParagraphProperties

Generic implementation of TextParagraphProperties

GenericTextRunProperties

Generic implementation of TextRunProperties

JustificationProperties
ShapedBuffer
ShapedTextRun

A text run that holds shaped characters.

TextBounds

The bounding rectangle of a range of characters

TextCharacters

A text run that holds text characters.

TextCollapsingProperties

Properties of text collapsing.

TextEndOfLine

A text run that indicates the end of a line.

TextEndOfParagraph

A text run that indicates the end of a paragraph.

TextFormatter

Represents a base class for text formatting.

TextLayout

Represents a multi line text layout.

TextLeadingPrefixCharacterEllipsis

Ellipsis based on a fixed length leading prefix and suffix growing from the end at character granularity.

TextLine

Represents a line of text that is used for text rendering.

TextLineBreak
TextParagraphProperties

Provides a set of properties that are used during the paragraph layout.

TextRun

Represents a portion of a TextLine object.

TextRunProperties

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

TextShaper

A class that is responsible for text shaping.

TextTrailingCharacterEllipsis

A collapsing properties to collapse whole line toward the end at character granularity.

TextTrailingWordEllipsis

a collapsing properties to collapse whole line toward the end at word granularity.

UnshapedTextRun

A group of characters that can be shaped.

Structs

GlyphInfo

Represents a single glyph.

SplitResult<T>
TextLineMetrics

Represents a metric for a TextLine objects, that holds information about ascent, descent, line gap, size and origin of the text line.

TextMetrics

A metric that holds information about text specific measurements.

TextRange

References a portion of a text buffer.

TextRunBounds

The bounding rectangle of text run

TextShaperOptions

Options to customize text shaping.

Interfaces

ITextSource

Produces TextRun objects that are used by the TextFormatter.

Enums

LogicalDirection