TextParagraphProperties Class

Summary

Provides a set of properties that are used during the paragraph layout.
Namespace
Avalonia.Media.TextFormatting
Base Types
  • object
Derived Types
graph BT Type-->Base0["object"] Type["TextParagraphProperties"] class Type type-node Derived0["GenericTextParagraphProperties"]-->Type click Derived0 "/api/Avalonia.Media.TextFormatting/GenericTextParagraphProperties"

Syntax

public abstract class TextParagraphProperties

Properties

Name Value Summary
DefaultTextRunProperties TextRunProperties
Gets the default text style.
LineHeight double
Paragraph's line height
TextAlignment TextAlignment
Gets the text alignment.
TextDecorations TextDecorationCollection
If not null, text decorations to apply to all runs in the line. This is in addition to any text decorations specified by the TextRunProperties for individual text runs.
TextWrapping TextWrapping
Gets the text wrapping.