TextShaper Class
Definition
A class that is responsible for text shaping.
public class TextShaper
Constructors
| Name | Description |
|---|---|
| TextShaper | No summary available. |
TextShaper Constructor
public TextShaper(Avalonia.Platform.ITextShaperImpl platformImpl)
Parameters
platformImpl Avalonia.Platform.ITextShaperImpl
Methods
| Name | Description |
|---|---|
| ShapeText (2 overloads) | No summary available. |
ShapeText overloads
ShapeText Method
public Avalonia.Media.TextFormatting.ShapedBuffer ShapeText(ReadOnlyMemory<char> text, Avalonia.Media.TextFormatting.TextShaperOptions options)
Parameters
text ReadOnlyMemory<char>
options Avalonia.Media.TextFormatting.TextShaperOptions
Returns
ShapeText Method
public Avalonia.Media.TextFormatting.ShapedBuffer ShapeText(string text, Avalonia.Media.TextFormatting.TextShaperOptions options)
Parameters
text string
options Avalonia.Media.TextFormatting.TextShaperOptions
Returns
Properties
| Name | Description |
|---|---|
| Current | Gets the current text shaper. |
Current Property
Gets the current text shaper.
public Avalonia.Media.TextFormatting.TextShaper Current { get; set; }