Summary
Represents a multi line text layout.
- Namespace
- Avalonia
.Media .TextFormatting - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["TextLayout"]
class Type type-node
Syntax
public class TextLayout
Constructors
Name | Summary |
---|---|
TextLayout |
Initializes a new instance of the TextLayout class.
|
Properties
Name | Value | Summary |
---|---|---|
LineHeight | double |
Gets or sets the height of each line of text.
|
MaxHeight | double |
Gets the maximum height.
|
MaxLines | int |
Gets the maximum number of text lines.
|
MaxWidth | double |
Gets the maximum width.
|
Size | Size |
Gets the size of the layout.
|
TextLines | IReadOnlyList |
Gets the text lines.
|
Methods
Name | Value | Summary |
---|---|---|
Draw |
void |
Draws the text layout.
|