Summary
Shapes the specified region within the text and returns a resulting glyph run.
- Namespace
- Avalonia
.Platform - Containing Type
- ITextShaperImpl
Syntax
GlyphRun ShapeText(ReadOnlySlice<char> text, Typeface typeface, double fontRenderingEmSize, CultureInfo culture)
Parameters
Name | Type | Description |
---|---|---|
text | ReadOnlySlice |
The text. |
typeface | Typeface | The typeface. |
fontRenderingEmSize | double | The font rendering em size. |
culture | CultureInfo | The culture. |
Return Value
Type | Description |
---|---|
GlyphRun | A shaped glyph run. |