Summary
Defines the platform-specific interface for
FormattedText
.
- Namespace
- Avalonia
.Platform
graph BT
Type["IFormattedTextImpl"]
class Type type-node
Syntax
public interface IFormattedTextImpl
Properties
Name | Value | Summary |
---|---|---|
Bounds | Rect |
The measured bounds of the text.
|
Constraint | Size |
Gets the constraint of the text.
|
Text | string |
Gets the text.
|
Methods
Name | Value | Summary |
---|---|---|
GetLines |
IEnumerable |
Gets the lines in the text.
|
HitTestPoint |
TextHitTestResult |
Hit tests a point in the text.
|
HitTestTextPosition |
Rect |
Gets the bounds rectangle that the specified character occupies.
|
HitTestTextRange |
IEnumerable |
Gets the bounds rectangles that the specified text range occupies.
|