ShapedTextRun Class

A text run that holds shaped characters.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public sealed class ShapedTextRun : DrawableTextRun, 
	IDisposable
Inheritance
Object    TextRun    DrawableTextRun    ShapedTextRun
Implements
IDisposable

Properties

Baseline
(Overrides DrawableTextRunBaseline)
BidiLevel 
GlyphRun 
IsReversed 
Length Gets the text source length.
(Overrides TextRunLength)
Properties A set of properties shared by every characters in the run
(Overrides TextRunProperties)
ShapedBuffer 
Size
(Overrides DrawableTextRunSize)
Text Gets the text run's text.
(Overrides TextRunText)
TextMetrics 

Methods

DisposeReleases all resources used by the ShapedTextRun
Draw(DrawingContext, Point) Draws the DrawableTextRun at the given origin.
(Overrides DrawableTextRunDraw(DrawingContext, Point))
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryMeasureCharacters(Double, Int32) Measures the number of characters that fit into available width.

See Also